[TYPO3-english] Real URL conditions

Marcus 'biesior' Biesioroff vsbies at wp.pl
Thu Feb 4 15:25:50 CET 2010


W dniu 2010-02-04 14:52, luca tozzi pisze:
> config.simulateStaticDocuments = 0
> [IP = 192.168.1..*]
> config.baseUrl =http://192.168.1.9/
> [else]
> config.baseUrl =http://www.mysite.net/
> [global]
> config.tx_realurl_enable = 1
> config.prefixLocalAnchors = all

Maybe it's because of double dot in first condition? If you copied your 
real code it is...

Try this instead:




   config.simulateStaticDocuments = 0
   config.tx_realurl_enable = 1
   config.prefixLocalAnchors = all
   config.baseUrl = http://192.168.1.9/

   [globalString = IENV:HTTP_HOST = *.mysite.net]
   config.baseUrl = http://www.mysite.net/
   [global]





check in the output HTML code (so on the main page) if conditions are 
working properly (check value of the baseurl tag in <head> section)


-- 
Marcus 'biesior' Biesioroff
a.k.a. Marek Krawczyk (original)

Polish TYPO3 Community Proud Member
http://typo3.pl


More information about the TYPO3-english mailing list