danielw93/omgubuntuScope_server/master/.htaccess - Htaccess File

danielw93/omgubuntuScope_server/master/.htaccess

##Don't forget to enable mod_rewrite in /etc/apache2/mods-enabled
<IfModule mod_rewrite.c>
RewriteEngine On
# Redirect requests to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^((?s).*)$ controller.php [QSA,L]
RewriteRule /?.htaccess$ - [F,L]
RewriteRule ^/?test.txt$ - [F,L]
RewriteRule ^/?omgubuntu.json$ - [F,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache