aboutsummaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess14
1 files changed, 14 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..7db1e17
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,14 @@
+RewriteEngine On
+Options FollowSymLinks
+
+RewriteCond %{REQUEST_FILENAME} -f [OR]
+RewriteCond %{REQUEST_FILENAME} -d
+RewriteRule ^(.+) - [PT,L]
+
+
+RewriteRule (.*) index.php?action=$1 [QSA,L]
+
+<Files *.php>
+ Order Allow,Deny
+ Deny from all
+</Files>