18 lines
470 B
ApacheConf
18 lines
470 B
ApacheConf
RewriteEngine On
|
|
|
|
# Some hosts may require you to use the `RewriteBase` directive.
|
|
# If you need to use the `RewriteBase` directive, it should be the
|
|
# absolute physical path to the directory that contains this htaccess file.
|
|
#
|
|
# RewriteBase /
|
|
|
|
# if you want to use x-sendfile
|
|
# XSendFile on
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteRule ^ index.php [QSA,L]
|
|
|
|
#<FilesMatch "\.(jpg|jpeg|png|gif|swf)$">
|
|
#Header set Cache-Control "max-age=604800, public"
|
|
#</FilesMatch>
|