Marieke Vandamme wrote:
> 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.
>   

Hello,

I also have virtual hosts. But I place the realurl related settings at
.htaccess and all virtual hosts run realurl without any problem.
Also allow symlink option in .htaccess


> 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>
>   

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

Reply via email to