Mercurial > Pritunl-Fake-API
comparison www/.htaccess @ 0:b51518614818 default tip
New Files
author | Pluto <meokcin@gmail.com> |
---|---|
date | Tue, 03 Sep 2024 15:57:25 +0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:b51518614818 |
---|---|
1 Options -Indexes | |
2 | |
3 <ifModule mod_rewrite.c> | |
4 # Force HTTPS | |
5 RewriteEngine On | |
6 | |
7 # Activate a virutal file system and send every request of a non existing file to index.php?apiReq=(...) | |
8 RewriteCond %{REQUEST_FILENAME} !-f | |
9 RewriteCond %{REQUEST_FILENAME} !-d | |
10 RewriteRule ^(.*)$ index.php?path=$1 [L,QSA] | |
11 </ifModule> |