summaryrefslogtreecommitdiffstats
path: root/htaccess.txt
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-02-06 23:14:56 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-02-06 23:31:27 +0100
commit9e9d77b4072de4f8c73e8bbade07a8f27734e4bd (patch)
treea5d709254968fed8f3acdb9eec68fde2faa14b94 /htaccess.txt
Initial commit
Signed-off-by: Florian Pritz <bluewind@xssn.at>
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]