Hello, 

Still no response, so I hope underneath apache configuration might be of
some help. 
We searched quite a long time to get the configuration correct:
- We have 2 virtual hosts (www.test.com and www2.test.com)
- Each has it's own root in the htdocs
- Inside the directory for the host, is a symbolic link site to the
typo3-website-root-directory

Without those virtual hosts realurl seems to work,
but with them, we get strange behavior like described in previous post.

Please, any suggestion is welcome!! Thanks a lot! Marieke.

Our apache configuration:
<VirtualHost *>
        DocumentRoot /srv/www/htdocs/www.test.com
        ServerName www.test.com
        <Directory /srv/www/htdocs/www.test.com>
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>
        <IfModule rewrite_module>
                RewriteEngine on
                RewriteRule ^/site/typo3$ - [L]
                RewriteRule ^/site/typo3/(.*)$ - [L] 
                
                RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
                RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-d
                RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-l
                RewriteRule ^/site/.* /site/index.php
        </IfModule>
</VirtualHost>
<VirtualHost *>
        DocumentRoot /srv/www/htdocs/www2.test.com
        ServerAdmin [email protected]
        <Directory /srv/www/htdocs/www2.test.com>
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>
        
        <IfModule rewrite_module>
                RewriteEngine on
                RewriteRule ^/site/typo3$ - [L]
                RewriteRule ^/site/typo3/(.*)$ - [L]
                
                RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
                RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-d
                RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-l
                RewriteRule ^/site/.* /site/index.php
        </IfModule>
</VirtualHost>
-- 
View this message in context: 
http://www.nabble.com/-TYPO3-english--RealURL%3A-class-t3lib_div.getIndpEnv%28%27TYPO3_SITE_URL%27%29-not-returning-correct-url-path-in-combination-with-RealURL-tp24736880p24752432.html
Sent from the TYPO3 English mailing list archive at Nabble.com.

_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to