Fix extras.php 403 error because of dir "extras"
This commit is contained in:
@@ -11,7 +11,9 @@ RewriteCond %{REQEUSTED_FILENAME} !-d
|
|||||||
RewriteCond %{REQUEST_FILENAME}\.html -f
|
RewriteCond %{REQUEST_FILENAME}\.html -f
|
||||||
RewriteRule ^(.*)$ $1.html [NC,L]
|
RewriteRule ^(.*)$ $1.html [NC,L]
|
||||||
|
|
||||||
DirectorySlash Off
|
RewriteCond %{REQUEST_FILENAME} extras/$
|
||||||
|
RewriteRule ^(.*)/$ $1
|
||||||
|
|
||||||
RewriteCond %{REQUEST_FILENAME}\.php -f
|
RewriteCond %{REQUEST_FILENAME}\.php -f
|
||||||
RewriteRule ^(.*)$ $1.php [NC,L]
|
RewriteRule ^(.*)$ $1.php [NC,L]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user