mirror of
https://github.com/simonmicro/Pritunl-Fake-API.git
synced 2026-01-20 03:40:22 +00:00
Added missing .htaccess
This commit is contained in:
11
www/.htaccess
Executable file
11
www/.htaccess
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
Options -Indexes
|
||||||
|
|
||||||
|
<ifModule mod_rewrite.c>
|
||||||
|
# Force HTTPS
|
||||||
|
RewriteEngine On
|
||||||
|
|
||||||
|
# Activate a virutal file system and send every request of a non existing file to index.php?apiReq=(...)
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteRule ^(.*)$ index.php?path=$1 [L,QSA]
|
||||||
|
</ifModule>
|
||||||
Reference in New Issue
Block a user