24 lines
533 B
ApacheConf
24 lines
533 B
ApacheConf
|
RewriteEngine On
|
||
|
|
||
|
# Don't rewrite the following URIs
|
||
|
RewriteRule ^static/.*$ - [L]
|
||
|
RewriteRule ^libraries/.*$ - [L]
|
||
|
RewriteRule ^favicon\.ico$ - [L]
|
||
|
RewriteRule ^robots\.txt$ - [L]
|
||
|
|
||
|
# Everything else goes to index.php
|
||
|
RewriteRule ^(.*)$ index.php [QSA,L]
|
||
|
|
||
|
# Absolutely no access to PHP include files
|
||
|
#<Files "*.inc.php">
|
||
|
# Require all denied
|
||
|
#</Files>
|
||
|
|
||
|
AddDefaultCharset utf-8
|
||
|
|
||
|
# Thou shall not pass!
|
||
|
AuthType Basic
|
||
|
AuthName "construction site"
|
||
|
AuthUserFile /var/www/vhosts/feedizer.tigris.fanir.de/htpasswd
|
||
|
Require user fanir guest
|