phpnuxbill/.htaccess_firewall

22 lines
433 B
Plaintext
Raw Permalink Normal View History

2024-03-12 10:06:18 +08:00
<Files *.php>
Order Deny,Allow
Deny from all
</Files>
<Files index.php>
Order Allow,Deny
Allow from all
2024-03-22 21:29:05 +08:00
</Files>
<Files update.php>
Order Allow,Deny
Allow from all
2024-08-14 17:54:14 +08:00
</Files>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
RewriteRule ^(.*)$ index.php [QSA,L]