[TYPO3] simulatestatic and domain record redirection failure
Dmitry Dulepov [typo3]
dmitry at typo3.org
Mon Sep 15 20:44:03 CEST 2008
Hi!
Katja Lampela wrote:
> I have an installation with two sites each with own domain.
> Simulatestatic is active on both sites. I have problems with the domain
> records: they don't redirect as expected. The situation is following:
>
> The first site
> - domain record "www.firstsite.com"
> - dr "firstsite.com" with redirection to "www.firstsite.com".
>
> The second site
> - dr "www.secondsite.com"
> - dr "secondsite.com" with redirection to "www.secondsite.com".
>
> Now for some reason the redirections don't work, instead there is the
> 404 not found.
This is because you should redirect to *http://*www.secondsite.com*/*. Simply "www.seondsite.com" means you are redirecting to http://secondsite.com/www.secondsite.com/, which obviously gives 404 :) It is like with file paths: "cd /tmp" vs "cd tmp".
--
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/debugging_symlinked_typo3_files_with_komodo_ide_on_mac/
More information about the TYPO3-english
mailing list