Discussion:
[TYPO3-english] realurl, aeautoconf and multiple domains: no redirect
Peter Kühnlein
2012-02-14 16:05:55 UTC
Permalink
Good afternoon List,

I have a problem with an installation where I use realurl and aeurltool.
I have added further domains to the tree in different root-pages (the
root page numbers now are 1, 80, 105 and 198 respectively). Each root
page contains a template with the config.baseURL set to the correct
domain URL and has "use as root page" checked: they all have the small
world icon.

However, when I click on, say, page 199 to view it, it shows up in the
browser with the address of the first domain plus index.php?id=199,
instead of the address of the fourth domain and index.php?id=199.
Furthermore, I renamed realurl_autoconf.php to realurl_autoconf.php.alt,
cleared the caches and waited for realurl_autoconf.php to be generated
anew with the entries for the new domains. But nothing at all happened:
no such file was generated.

I'm way confused, since I expected that somewhere the assignment of
domains to root page ID's should be made. It seems that this does not
happen though.

Can anyone help me? Can I manually add those root page <-> domain
assignments? I milked google until it was dry, but no solution I found
is applicable here.

Thanks for your help:
Peter
--
http://www.function2form.net
http://www.peter-kuehnlein.net

"The resourcefulness of times of peace is the military preparation
for times of war."

(Hagakure)
Mark Boland
2012-02-14 19:12:45 UTC
Permalink
Hi Peter,

do you have added domain records to all your root pages? That's what Realurl uses to map (multiple) domains to a root page.

Call your website from the Frontend. That triggers the generation of autoconf. Preview from the backend always calls same domain that you have logged in with (to have the same Cookie-Domain) and will not redirect to your set domain.
Post by Peter Kühnlein
Good afternoon List,
I have a problem with an installation where I use realurl and aeurltool. I have added further domains to the tree in different root-pages (the root page numbers now are 1, 80, 105 and 198 respectively). Each root page contains a template with the config.baseURL set to the correct domain URL and has "use as root page" checked: they all have the small world icon.
However, when I click on, say, page 199 to view it, it shows up in the browser with the address of the first domain plus index.php?id=199, instead of the address of the fourth domain and index.php?id=199. Furthermore, I renamed realurl_autoconf.php to realurl_autoconf.php.alt, cleared the caches and waited for realurl_autoconf.php to be generated anew with the entries for the new domains. But nothing at all happened: no such file was generated.
I'm way confused, since I expected that somewhere the assignment of domains to root page ID's should be made. It seems that this does not happen though.
Can anyone help me? Can I manually add those root page <-> domain assignments? I milked google until it was dry, but no solution I found is applicable here.
Peter
--
http://www.function2form.net
http://www.peter-kuehnlein.net
"The resourcefulness of times of peace is the military preparation
for times of war."
(Hagakure)
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Peter Kühnlein
2012-02-15 08:58:11 UTC
Permalink
Post by Mark Boland
Hi Peter,
do you have added domain records to all your root pages? That's what Realurl uses to map (multiple) domains to a root page.
Call your website from the Frontend. That triggers the generation of autoconf. Preview from the backend always calls same domain that you have logged in with (to have the same Cookie-Domain) and will not redirect to your set domain.
Hi Mark,

thanks bunches - I wasn't aware that setting the domain records still
has to be done using the list view. I supposed that checking "use as
root page" together with the config.baseURL would do the trick.

I don't see the autoconf being generated though. All I have is the
urltoolconf_realurl.php which still doesn't contain any information
about the domains. I remember reading that there should be info about
the mapping of root pages and domains in this file as well - so I guess
I still have to add that manually. *I don't know where to add what
though. Any help here?*

As a matter of fact, I had problems with the redirect of the first
domain already: I had to modify the .htaccess to redirect requests to
index.php?id=1 - else I always got the infamous error message that "no
typoscript template was found". I guess that adding the corresponding
lines to urltoolconf_realurl.php should solve that problem in a more
general way too.

Any help would be appreciated
Thanks,
Peter
--
http://www.function2form.net
http://www.peter-kuehnlein.net

"With the passing of time, the criminal will forget the reason for
his crime; it is best to execute him on the spot."

(Hagakure)
Jigal van Hemert
2012-02-14 20:50:18 UTC
Permalink
Hi,
Post by Peter Kühnlein
I have a problem with an installation where I use realurl and aeurltool.
The best way is to use realurl without any additional tools. The extra
tools were undoubtedly made with the best intentions, but they often are
not in sync with the development of realurl itself.

Read the manual thoroughly and you'll be able to make configuration. The
autoconfiguration of realurl works in a lot of cases. You can find more
information about this in the manual too.
--
Kind regards / met vriendelijke groet,

Jigal van Hemert.
Peter Kühnlein
2012-02-15 08:59:40 UTC
Permalink
Post by Jigal van Hemert
Hi,
Post by Peter Kühnlein
I have a problem with an installation where I use realurl and aeurltool.
The best way is to use realurl without any additional tools. The extra
tools were undoubtedly made with the best intentions, but they often
are not in sync with the development of realurl itself.
Read the manual thoroughly and you'll be able to make configuration.
The autoconfiguration of realurl works in a lot of cases. You can find
more information about this in the manual too.
Thanks Jigal,

I think I will do so in subsequent projects. I found the manual
difficult to understand though.

Take care
Peter
--
http://www.function2form.net
http://www.peter-kuehnlein.net

"With the passing of time, the criminal will forget the reason for
his crime; it is best to execute him on the spot."

(Hagakure)
Dmitry Dulepov
2012-02-17 15:20:26 UTC
Permalink
Hi!
Post by Peter Kühnlein
Furthermore, I renamed realurl_autoconf.php to realurl_autoconf.php.alt,
cleared the caches and waited for realurl_autoconf.php to be generated
no such file was generated.
Autoconfiguration is generated only if you do not have manually created
configuration file. If you use some 3rd party tool, most likely it creates
the configuration. In such case you will not have autoconfiguration.

I would advise against any of these tools. They may help at simplest cases
but generally they do more harm than good.
--
Dmitry Dulepov
TYPO3 core team member
Blog: http://dmitry-dulepov.com/
Twitter: http://twitter.com/dmitryd

Simplicity will save the world.
Paulo Miranda
2012-02-17 18:56:49 UTC
Permalink
Hi all out there.

After a long time away of studying mnogosearch, I returnet to it and
have made a good go.

Now I have an issue with pdf file indexed by pdftotext: the result of a
searching shows the pdf file indexed but instead of showing the name of
the pdf file, it shows the text "(no title)".

Anyone has some tip about this behavior?

Thanks!

Paulo Miranda
Paulo Miranda
2012-02-17 20:07:15 UTC
Permalink
I have pointed an issue... and the the solution is here:
http://www.mnogosearch.org/board/message.php?id=6280

Original: Mime application/pdf text/plain "pdftotext $1 -"

The new one: Mime application/pdf text/html "pdftotext -htmlmeta -enc
Latin1 $1 -"

* replace text/plain for text/html and add -htmlmeta.
* -enc Latin1 because my site runs on iso-8859-1

It works for me.

All the best...

Paulo Miranda
Post by Paulo Miranda
Hi all out there.
After a long time away of studying mnogosearch, I returnet to it and
have made a good go.
Now I have an issue with pdf file indexed by pdftotext: the result of
a searching shows the pdf file indexed but instead of showing the name
of the pdf file, it shows the text "(no title)".
Anyone has some tip about this behavior?
Thanks!
Paulo Miranda
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
--
Paulo Miranda
SSO/CSC/STI
R: 7451
Dmitry Dulepov
2012-02-20 12:55:26 UTC
Permalink
Hi!
Post by Paulo Miranda
After a long time away of studying mnogosearch, I returnet to it and
have made a good go.
Why do you reply to the "realurl, aeautoconf and multiple domains: no
redirect" thread with this?
--
Dmitry Dulepov
TYPO3 core team member
Blog: http://dmitry-dulepov.com/
Twitter: http://twitter.com/dmitryd

Simplicity will save the world.
Loading...