disinclined.org
/
git
/
dylansserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merged branch 'no-javascript' with notes
[dylansserver.git]
/
.htaccess
diff --git
a/.htaccess
b/.htaccess
index
fe7ef14
..
b11bc6a
100644
(file)
--- a/
.htaccess
+++ b/
.htaccess
@@
-1
+1,6
@@
ErrorDocument 404 /404.php
ErrorDocument 404 /404.php
+RewriteEngine on
+RewriteRule ^notes/page/([1-9]+)/?$ notes/index.php?page=$1 [L]
+RewriteRule ^notes/([^/\.]+)/?$ notes/index.php?note=$1 [L]
+RewriteRule ^notes/?$ notes/ [L]
+RewriteRule ^([^/\.]+)/?$ index.php?project=$1 [L]