add cms, add todo
[ssproject1617.git] / testcms-final-anon / htaccess.txt
diff --git a/testcms-final-anon/htaccess.txt b/testcms-final-anon/htaccess.txt
new file mode 100644 (file)
index 0000000..3b425b8
--- /dev/null
@@ -0,0 +1,15 @@
+<IfModule mod_rewrite.c>\r
+       RewriteEngine On\r
+       # RewriteBase /\r
+\r
+       # Allow any files or directories that exist to be displayed directly\r
+       RewriteCond %{REQUEST_FILENAME} !-f\r
+       RewriteCond %{REQUEST_FILENAME} !-d\r
+\r
+       # Rewrite all other URLs to index.php/URL\r
+       RewriteRule ^(.*)$ index.php?/$1 [L,QSA]\r
+</IfModule>\r
+\r
+<IfModule !mod_rewrite.c> \r
+       ErrorDocument 404 index.php\r
+</IfModule>\r