rajat-ewiz/Test-UAT/master/.htaccess - Htaccess File

rajat-ewiz/Test-UAT/master/.htaccess

RewriteEngine on

#RewriteCond %{HTTP_HOST} ^www.(.+)
#RewriteCond %{HTTPS}s/%1 ^(on(s)|offs)/(.+)
#RewriteRule ^ http%2://%3%{REQUEST_URI} [L,R=301]

#RewriteCond %{HTTPS} !=on
#RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index.php|assets|robots.txt)
    RewriteRule ^(.*)$ index.php?$1 [L]

AddType image/svg+xml svg
AddType image/svg+xml svgz
AddEncoding x-gzip .svgz
AddDefaultCharset UTF-8

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, HTTPS, REQUEST_FILENAME, REQUEST_URI

Comments

Apache