ghorbanzade/ghorcom/master/.htaccess - Htaccess File

ghorbanzade/ghorcom/master/.htaccess

RewriteEngine On

<IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
</IfModule>

RewriteCond %{HTTP_HOST} ^ghorbanzade.com
RewriteRule (.*) http://www.ghorbanzade.com/$1 [r=301,nc]

RewriteCond %{HTTP_HOST} ^www.ghorbanzade.com
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^?]*)$ /index.php [NC,L,QSA]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME

Comments

Apache