hezahran/he-source/master/.htaccess - Htaccess File

hezahran/he-source/master/.htaccess

<IfModule mod_headers.c>
   Header add Access-Control-Allow-Origin: *
</IfModule>
<IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /html/(.*).html HTTP/
   RewriteRule .* http://localhost/html/%1 [R=301,L]
   RewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /html/(.*) HTTP/
   RewriteRule .* %1.html [L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
THE_REQUEST

Comments

Apache