ghorbanzade/ghorcom/master/api/.htaccess - Htaccess File

ghorbanzade/ghorcom/master/api/.htaccess

RewriteEngine On

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

RewriteCond %{HTTP_HOST} ^api.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