From: Dylan Lloyd Date: Sat, 5 Mar 2011 21:07:42 +0000 (-0500) Subject: Now issues 404 if page # not found X-Git-Url: https://disinclined.org/git/?a=commitdiff_plain;h=3258959ad59a920ba2ceba910b8da7b1100bc52a;hp=06268cf4dd5d7b6a1742077db3a5949144a4761f;p=dylansserver.git Now issues 404 if page # not found --- diff --git a/.htaccess b/.htaccess index 44ef5b9..d773249 100644 --- a/.htaccess +++ b/.htaccess @@ -1,7 +1,7 @@ ErrorDocument 404 /404.php RewriteEngine on -RewriteRule ^notes/?$ /index.php?page=1 [L] +RewriteRule ^notes/? /index.php?page=1 [L] +RewriteRule ^notes/page/? /index.php?page=1 [L] RewriteRule ^notes/page/([1-9]+)/?$ /index.php?page=$1 [L] RewriteRule ^notes/([^/\.]+)/?$ /index.php?note=$1 [L] -RewriteRule ^notes/?$ notes/ [L] RewriteRule ^([^/\.]+)/?$ /index.php?project=$1 [L]