Htaccess File

dev-goose/app-first-gallery/master/.htaccess

REQUEST_FILENAME
RewriteEngine On
RewriteCond $1 !.(js|ico|gif|jpg|jpeg|png|css|swf|mp3|wav|txt|zip|rar|htc|pdf|scss|sass)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1

#<ifModule mod_expires.c>
#ExpiresActive On
#ExpiresDefault "access plus 1 seconds"
#ExpiresByType text/html "access plus 1 seconds"
#ExpiresByType image/gif "access plus 2592000 seconds"
#ExpiresByType image/jpeg "access plus 2592000 seconds"
#ExpiresByType image/png "access plus 2592000 seconds"
#ExpiresByType text/css "access plus 604800 seconds"
#ExpiresByType text/javascript "access plus 216000 seconds"
#ExpiresByType application/x-javascript "access plus 216000 seconds"
#</ifModule>
Exit mobile version