summaryrefslogtreecommitdiff
path: root/public/.htaccess
diff options
context:
space:
mode:
authorc+12024-09-01 21:48:56 -0400
committerc+12024-09-01 21:48:56 -0400
commit94daf8ad98b19afbd4320078b9d1ee25c9fb82f1 (patch)
tree28adfead942eb55dafdf67505bc326bb3f6e2f26 /public/.htaccess
Initial commit.HEADmaster
Allows for the uploading of files.
Diffstat (limited to 'public/.htaccess')
-rw-r--r--public/.htaccess10
1 files changed, 10 insertions, 0 deletions
diff --git a/public/.htaccess b/public/.htaccess
new file mode 100644
index 0000000..e46b2d9
--- /dev/null
+++ b/public/.htaccess
@@ -0,0 +1,10 @@
+RewriteEngine On
+
+RewriteCond %{REQUEST_URI} ^/$ [OR]
+RewriteCond %{REQUEST_URI} ^/index\.php$
+RewriteRule ^(.*)$ /index.php [L]
+
+RewriteCond %{QUERY_STRING} ^v=([a-zA-Z0-9\_\-\~\!\*]{8})$
+RewriteRule ^$ /view.php?v=%1 [L,QSA]
+
+RewriteRule ^admin\.php$ /admin.php [L]