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>
Files
