From 8c4cbdebcf61951cd8d5e5d9f74bcf5502e35088 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sat, 3 Mar 2007 06:06:05 +0000 Subject: [PATCH] Auth and existence error pages must be undone. git-svn-id: http://htmlpurifier.org/svnroot@778 48356398-32a2-884e-a903-53898d9a118a --- .htaccess | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.htaccess b/.htaccess index 0d6ac05..4eebf3d 100644 --- a/.htaccess +++ b/.htaccess @@ -1,6 +1,8 @@ -RewriteEngine On +ErrorDocument 404 default +ErrorDocument 401 default +RewriteEngine on # Explicitly rewrite DirectoryIndex RewriteRule ^$ index.html +RewriteRule !.html$ - [L] RewriteCond %{REQUEST_FILENAME} !-f -RewriteRule ^([a-zA-Z0-9]+\.html)$ main.php?f=$1 -RewriteRule ^(comparison/[a-zA-Z0-9]+\.html)$ main.php?f=$1 \ No newline at end of file +RewriteRule ^(.+\.html)$ main.php?f=$1 [L,PT] -- 2.11.4.GIT