shinesoftware/shineisp/master/public/.htaccess - Htaccess File

shinesoftware/shineisp/master/public/.htaccess

## CHARSET TYPE ##
AddDefaultCharset UTF-8

## EXPIRES CACHING ##

#ExpiresActive On
#ExpiresByType image/jpg "access plus 1 year"
#ExpiresByType image/jpeg "access plus 1 year"
#ExpiresByType image/gif "access plus 1 year"
#ExpiresByType image/png "access plus 1 year"
#ExpiresByType text/css "access plus 1 month"
#ExpiresByType application/pdf "access plus 1 month"
#ExpiresByType text/x-javascript "access plus 1 month"
#ExpiresByType application/x-shockwave-flash "access plus 1 month"
#ExpiresByType image/x-icon "access plus 1 year"
#ExpiresDefault "access plus 2 days"

## EXPIRES CACHING ##

# SetEnv APPLICATION_ENV production
SetEnv APPLICATION_ENV development

php_value "short_open_tag" "on"

php_flag magic_quotes_gpc Off
php_value magic_quotes_gpc Off

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

On Github License

Files

Download PDF of Htaccess file
ENV, REQUEST_FILENAME

Comments

Apache