summaryrefslogtreecommitdiffstats
path: root/htaccess.txt
diff options
context:
space:
mode:
Diffstat (limited to 'htaccess.txt')
-rw-r--r--htaccess.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/htaccess.txt b/htaccess.txt
new file mode 100644
index 000000000..1460d773c
--- /dev/null
+++ b/htaccess.txt
@@ -0,0 +1,8 @@
+RewriteEngine on
+
+RewriteRule ^s/(.*)$ file/show_url
+RewriteRule ^d/(.*)$ file/download
+
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule ^(.*)$ /index.php/?$1 [L]