diff options
Diffstat (limited to 'web/cgi/.htaccess')
-rw-r--r-- | web/cgi/.htaccess | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/web/cgi/.htaccess b/web/cgi/.htaccess new file mode 100644 index 00000000..b59de05b --- /dev/null +++ b/web/cgi/.htaccess @@ -0,0 +1,32 @@ +# +# Tweek server to encourage caching and set appropriate type for icons +# +DirectoryIndex greeting.tcl + +AddType image/x-icon .ico + +AddHandler cgi-script tcl + +<IfModule mod_headers.c> + +<Files *.gif> +Header append Cache-Control "public" +</Files> + +<Files *.jpg> +Header append Cache-Control "public" +</Files> + +<Files *.jpeg> +Header append Cache-Control "public" +</Files> + +<Files *.js> +Header append Cache-Control "public" +</Files> + +<Files *.css> +Header append Cache-Control "public" +</Files> + +</IfModule> |