iamonuwa/STS/master/.htaccess - Htaccess File

iamonuwa/STS/master/.htaccess

RewriteEngine on

# Redirect non-www to www 
#RewriteCond %{HTTP_HOST} !^www. 
#RewriteRule (.*) http://localhost/sts/$1 [R=301,L]

#RewriteRule ^index$    http://localhost/sts/ [R=301,L]
#RewriteRule ^sitemap.xml.gz$  http://localhost/sts/main/generate_xml_sitemap/ [QSA,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [QSA,L]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME

Comments

Apache