1 ErrorDocument 404 /404.php
6 RewriteRule ^git/?$ /git/gitweb.cgi%{REQUESTURI} [L]
8 RewriteRule ^captcha/?$ /index.php [L]
10 RewriteRule ^note/([^/\.]+)?/?$ /index.php?note=$1 [L]
11 RewriteRule ^note/([^/\.]+)?/comments/?$ /index.php?comments=true¬e=$1 [L]
12 RewriteRule ^note/([^/\.]+)?/(comments/)?verify/?$ /index.php?comments=true&verify=true¬e=$1 [L]
14 RewriteRule ^notes/?$ notes/page/1
15 RewriteRule ^notes/page/?$ notes/page/1
16 RewriteRule ^notes/page/([0-9]+)/?$ /index.php?page=$1 [L]
18 RewriteRule ^notes/([0-9]{4})/?$ /index.php?year=$1 [L]
19 RewriteRule ^notes/([0-9]{4})/([0-9]{2})/?$ /index.php?year=$1&month=$2 [L]
20 RewriteRule ^notes/([0-9]{4})/([0-9]{2})/([0-9]{2})/?$ /index.php?year=$1&month=$2&day=$3 [L]
22 ## This needs to be last as to avoid catching /notes/ etc.
23 RewriteRule ^([^/\.]+)/?$ /index.php?project=$1 [L]