h5ai/src/_h5ai/.htaccess

38 lines
963 B
ApacheConf
Raw Normal View History

Options -Indexes
AddType text/html .php
2011-08-12 19:04:14 +02:00
###########################################
# if php doesn't get interpreted try to
# uncomment one of the following lines
###########################################
2012-03-25 00:09:04 +01:00
2011-08-12 19:04:14 +02:00
#AddHandler application/x-httpd-php .php
#AddHandler application/x-httpd-php5 .php
#AddHandler application/x-httpd-php52 .php
#AddHandler application/x-httpd-php53 .php
#AddHandler php-script .php
#AddHandler php5-script .php
#AddHandler php52-script .php
#AddHandler php53-script .php
2012-03-25 00:09:04 +01:00
# cache images, css and js for 7 days
<IfModule headers_module>
2012-02-12 22:35:38 +01:00
<FilesMatch "\.png$">
2012-03-25 00:09:04 +01:00
Header set Cache-Control "max-age=604800, public"
2012-02-12 22:35:38 +01:00
</FilesMatch>
<FilesMatch "\.css$">
2012-03-25 00:09:04 +01:00
Header set Cache-Control "max-age=604800, public"
2012-02-12 22:35:38 +01:00
</FilesMatch>
<FilesMatch "\.js$">
2012-03-25 00:09:04 +01:00
Header set Cache-Control "max-age=604800, public"
2012-02-12 22:35:38 +01:00
</FilesMatch>
<FilesMatch "thumb-.*\.jpg$">
2012-03-25 00:09:04 +01:00
Header set Cache-Control "max-age=604800, public"
2012-02-12 22:35:38 +01:00
</FilesMatch>
</IfModule>