Project

General

Profile

« Previous | Next » 

Revision 7878

VegRef/.htaccess: URL resolution: mod_rewrite: Fixed bug where also need to consider if %{REQUEST_FILENAME} is a dir or symlink, which occurs e.g. when redirecting to the VegRef/ dir itself

View differences:

web/VegRef/.htaccess
5 5

  
6 6
### mod_rewrite
7 7

  
8
RewriteEngine off
8
RewriteEngine on
9 9
RewriteBase /~aaronmk/VegRef/
10 10

  
11 11
# unknown paths -> VegRef
12
RewriteCond %{REQUEST_FILENAME} !-d
12 13
RewriteCond %{REQUEST_FILENAME} !-f
14
RewriteCond %{REQUEST_FILENAME} !-l
13 15
RewriteRule ^.*$ index.php?$0

Also available in: Unified diff