initial commit; version 22.5.12042
This commit is contained in:
22
html/.htaccess
Normal file
22
html/.htaccess
Normal file
@ -0,0 +1,22 @@
|
||||
# DO NOT CHANGE THIS FILE
|
||||
# If you need to change this file, you are doing something wrong.
|
||||
|
||||
Options FollowSymlinks Multiviews
|
||||
|
||||
RedirectMatch 404 /\.
|
||||
|
||||
RewriteEngine on
|
||||
RewriteBase /
|
||||
#Block access to hidden files/dirs
|
||||
RewriteRule ^\..*$ - [F,L]
|
||||
#Don't favicon!
|
||||
RewriteCond %{REQUEST_FILENAME} !^favicon\.ico
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_URI} !\.(js|ico|txt|gif|jpg|png|css|php)
|
||||
RewriteCond %{REQUEST_URI} !^api/
|
||||
RewriteCond %{REQUEST_URI} !^rrd/
|
||||
RewriteCond %{REQUEST_URI} !=/server-status
|
||||
RewriteRule ^(.*)$ index.php/$1/
|
||||
|
||||
AcceptPathInfo On
|
Reference in New Issue
Block a user