Markus Post a écrit :
DocumentRoot /srv/www
RewriteRule ^/(.*)/(.*)$/$1/$2
This redirects the request http://domain.de/dir1/dir2 to the local files
/srv/www/dir1/dir2/ and works fine.
No RewriteRule necessary to do this: '/dir1/dir2' becomes '/dir1/dir2'
btw RewriteRule ^/([^/]+)/(.
Hello everybody,
I want to use RewriteUrl and open_basedir-restriction in a virtual
host-directive together.
1) RewriteUrl
DocumentRoot /srv/www
RewriteRule ^/(.*)/(.*)$/$1/$2
This redirects the request http://domain.de/dir1/dir2 to the local files
/srv/www/dir1/dir2/ and works
2 matches
Mail list logo