egensolutions/data-viewer/master/server-configs/.htaccess - Htaccess File

egensolutions/data-viewer/master/server-configs/.htaccess

# Apache .htaccess
# https://github.com/angular-ui/ui-router/wiki/Frequently-Asked-Questions#how-to-configure-your-server-to-work-with-html5mode
<ifModule mod_rewrite.c>
    RewriteEngine on

    # 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.html [L]
</ifModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache