diff options
author | c+1 | 2024-09-01 21:48:56 -0400 |
---|---|---|
committer | c+1 | 2024-09-01 21:48:56 -0400 |
commit | 94daf8ad98b19afbd4320078b9d1ee25c9fb82f1 (patch) | |
tree | 28adfead942eb55dafdf67505bc326bb3f6e2f26 /public/.htaccess |
Allows for the uploading of files.
Diffstat (limited to 'public/.htaccess')
-rw-r--r-- | public/.htaccess | 10 |
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] |