ComNStay/extranet/master/public_html/.htaccess - Htaccess File

ComNStay/extranet/master/public_html/.htaccess

SetEnv PHP_VER 5
RewriteEngine on

# IP Xavier
# RewriteCond %{REMOTE_ADDR} !78.212.15.16
# IP Fabio
# RewriteCond %{REMOTE_ADDR} !176.156.13.134
# IP Gilles
# RewriteCond %{REMOTE_ADDR} !90.5.23.93

# RewriteRule ^(.*) http://www.comnstay.fr [QSA,L,R=301]
RewriteRule ^(css|js)/([w-]+).d+.1$ $1/$2.$1 [L]

# RewriteCond %{HTTP_HOST} ^<domain.tld>$
# RewriteRule ^(.*) http://www.<domain.tld>/$1 [QSA,L,R=301]

RewriteCond $0 !^(index.html|css|js|swf|images|system|assets|tools|themes|index.php) [NC]
RewriteRule ^(.*)$ index.php?/$1 [L]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REMOTE_ADDR

Comments

Apache