I-SAN-dev/amanuensis/master/app/.htaccess - Htaccess File

I-SAN-dev/amanuensis/master/app/.htaccess

RewriteEngine On

# Create the Firefox webapp manifest
RewriteRule manifest.webapp api/ffmanifest.php [L]

# Don't rewrite files or directories
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]

# Rewrite everything else to index.html to allow html5 state links
RewriteRule ^ index.php [L]

# STRONG HTACCESS PROTECTION
<Files ~ "^.*.([Hh][Tt][Aa])">
    order allow,deny
    deny from all
    satisfy all
</Files>

# Legacy error handling - should be done better
ErrorDocument 404 "<H1>Page not found</H1>"

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache