X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=.htaccess;h=d06e66b3db40909c361ce77dc5d225d1c7561a64;hb=85bb89e8ee1cd0d518b61f6d14c1c939db6c6d0b;hp=2d0df8f15794e2b940de1d703cfa4c1368916c7c;hpb=d4adeb654507e6cd75aac3f264ae21ed5d16bfab;p=dylansserver.git diff --git a/.htaccess b/.htaccess index 2d0df8f..d06e66b 100644 --- a/.htaccess +++ b/.htaccess @@ -3,9 +3,11 @@ ErrorDocument 404 /404.php RewriteEngine on +RewriteRule ^captcha/?$ /index.php [L] + RewriteRule ^note/([^/\.]+)?/?$ /index.php?note=$1 [L] RewriteRule ^note/([^/\.]+)?/comments/?$ /index.php?comments=true¬e=$1 [L] -RewriteRule ^note/([^/\.]+)?/comments/verify/?$ /index.php?comments=true&verify=true¬e=$1 [L] +RewriteRule ^note/([^/\.]+)?/(comments/)?verify/?$ /index.php?comments=true&verify=true¬e=$1 [L] RewriteRule ^notes/?$ notes/page/1 RewriteRule ^notes/page/?$ notes/page/1