MySQL q's are now prepared. Added includes/cms.php
[dylansserver.git] / .htaccess
index fe7ef14..b11bc6a 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1 +1,6 @@
 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]