othmar52/slimpd/master/.htaccess - Htaccess File

othmar52/slimpd/master/.htaccess

# TODO
# create sample vHosts for apache-2.2, apache-2.4 and nginx
# with blacklist for ini|twig|sh
# with non-logging mpd-status-poll-request

#<Files  ~ ".ini$">
#  Order allow,deny
#  Deny from all
#</Files>
#
#<Files  ~ ".twig$">
#  Order allow,deny
#  Deny from all
#</Files>
#
#<Files  ~ ".sh$">
#  Order allow,deny
#  Deny from all
#</Files>

RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)1$
RewriteRule ^.*$ %2index.php [QSA,L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache