Htaccess File

vincetg2/vjfc/master/.htaccess

REQUEST_FILENAME
php_value error_reporting 0
Options +SymLinksIfOwnerMatch 
Options -Indexes
RewriteEngine On 
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.+)$ $1.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /404.php [L]

# BEGIN Caching
<ifModule mod_headers.c>
#<filesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|swf)$">
#Header set Cache-Control "max-age=2592000, public"
#</filesMatch>
#<filesMatch ".(css)$">
#Header set Cache-Control "max-age=604800, public"
#</filesMatch>
##<filesMatch "jquery[-.a-zA-Z0-9]*.(js|css)$">
##Header set Cache-Control "max-age=31536000, public"
##</filesMatch>
#<filesMatch ".(xml|txt)$">
#Header set Cache-Control "max-age=216000, public, must-revalidate"
#</filesMatch>
#<filesMatch ".(html|htm|php)$">
#Header set Cache-Control "max-age=1, private, must-revalidate"
#</filesMatch>
</ifModule>
# END Caching
Exit mobile version