Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed extra .htaccess rules and added documentation in .htaccess
- Loading branch information
Elijah Grey
committed
Jul 21, 2009
1 parent
49e0b3a
commit bd7d695
Showing
1 changed file
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,11 +1,10 @@ | |||
# This .htaccess makes *.html files accessible without | |||
# their filename extension by using mod_rewrite. It is | |||
# needed to comply with the pmxdr standard. | |||
|
|||
RewriteEngine On | RewriteEngine On | ||
|
|
||
RewriteCond %{REQUEST_FILENAME} !-f | RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteCond %{REQUEST_FILENAME} !-d | RewriteCond %{REQUEST_FILENAME} !-d | ||
RewriteCond %{REQUEST_FILENAME}.php -f | RewriteCond %{REQUEST_FILENAME}.html -f | ||
RewriteRule (.*) $1.html [L,QSA] | RewriteRule (.*) $1.html [L,QSA] | ||
|
|||
RewriteCond %{HTTP:User-Agent} Gecko/ | |||
RewriteCond %{REQUEST_FILENAME} -d | |||
RewriteCond %{REQUEST_FILENAME} !-f | |||
RewriteRule (.*) /http-index-format_automator.php?dir=%{REQUEST_FILENAME} [L,QSA] |