[Typo3] simulate static docs .htaccess rewriting user_dir's
Lannsjo
user at macromediaforum.com
Thu Jul 14 09:01:11 CEST 2005
Try to add this to your httpd.conf:
DocumentRoot D:\htdocs\your\site\
RewriteCond "%{DOCUMENT_ROOT}/%{REQUEST_FILENAME}" !-f
RewriteCond "%{DOCUMENT_ROOT}/%{REQUEST_FILENAME}" !-d
RewriteCond "%{DOCUMENT_ROOT}/%{REQUEST_FILENAME}" !-l
If that doesnt work:
Use .htaccess instead of httpd.conf.
Then your problems will be solved..
/Martin
"Alan Boyce" <aboyce at radford.edu> wrote in message
news:mailman.534.1121298925.10890.typo3-english at lists.netfielders.de...
> I have the following rewrite rules listed in httpd.conf
>
> RewriteEngine On
>
> RewriteRule ^/typo3$ - [L]
> RewriteRule ^/typo3/.*$ - [L]
>
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-l
> RewriteRule .* /index.php
>
> when i go to http://www.example.com/~userdir I get my typo3 pages and
> not the user's public_html folder. Does anyone know how I can make
> it let me go into ~ directories and still use simulate static docs"
>
> alan
>
More information about the TYPO3-english
mailing list