ramonztro/lightwork-mvc/master/.htaccess - Htaccess File

ramonztro/lightwork-mvc/master/.htaccess

#================================================================================
# HOSTGATOR PHP 5.5
#================================================================================
# AddHandler application/x-httpd-php55 .php

#================================================================================
# REDIRECT
#================================================================================
RewriteEngine On
# RewriteBase /
# RewriteCond %{HTTP_HOST} !^example.com$ [NC]
# RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]

#================================================================================
# APP
#================================================================================
RewriteRule ^/?$ index.php?action= [L]
RewriteRule ^(([a-zA-Z0-9_-]+/)*)([a-zA-Z0-9_-]+)/?$ index.php?action=$1$3 [QSA,L]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST

Comments

Apache