Skip to content

Instantly share code, notes, and snippets.

View erajuan's full-sized avatar

Juan Eracleo Huamani Mendoza erajuan

View GitHub Profile
@erajuan
erajuan / .htaccess
Created April 11, 2018 16:38 — forked from leocaseiro/.htaccess
Angular html5Mode apache working in a subdirectory /app using ngRoute
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(.*) /app/index.html [NC,L]
</IfModule>