2011-08-06 13:26:44 +02:00
|
|
|
|
2011-08-12 15:58:03 +02:00
|
|
|
|
2012-02-17 01:21:43 +01:00
|
|
|
Options -Indexes
|
|
|
|
|
2011-08-06 13:26:44 +02:00
|
|
|
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
|
|
|
|
###########################################
|
|
|
|
#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
|
2011-08-12 15:58:03 +02:00
|
|
|
|
2011-08-06 13:26:44 +02:00
|
|
|
|
|
|
|
# cache images, css and js for 52 weeks
|
|
|
|
<IfModule headers_module>
|
2012-02-12 22:35:38 +01:00
|
|
|
<FilesMatch "\.png$">
|
|
|
|
Header set Cache-Control "max-age=31449600, public"
|
|
|
|
</FilesMatch>
|
|
|
|
<FilesMatch "\.css$">
|
|
|
|
Header set Cache-Control "max-age=31449600, public"
|
|
|
|
</FilesMatch>
|
|
|
|
<FilesMatch "\.js$">
|
|
|
|
Header set Cache-Control "max-age=31449600, public"
|
|
|
|
</FilesMatch>
|
|
|
|
<FilesMatch "thumb-.*\.jpg$">
|
|
|
|
Header set Cache-Control "max-age=31449600, public"
|
|
|
|
</FilesMatch>
|
2011-08-06 13:26:44 +02:00
|
|
|
</IfModule>
|
|
|
|
|