1#
2# Copyright (c) 2016 Tama Communications Corporation
3#
4# This file is free software; as a special exception the author gives
5# unlimited permission to copy and/or distribute it, with or without
6# modifications, as long as this notice is preserved.
7#
8# This program is distributed in the hope that it will be useful, but
9# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
10# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11#
12# .htaccess for apache.
13# This file was generated by htags(1).
14#
15# Htags was invoked with the -f, or -D option.
16# You should start http server so that HTML/cgi-bin/*.cgi is executed
17# as a CGI script.
18#
19# (1) Basic
20#
21Options +ExecCGI
22<FilesMatch "^(global|completion)\.cgi$">
23    SetHandler cgi-script
24</FilesMatch>
25#
26# (2) Compression
27#
28# If you have a browser which accepts gzip encoding, you can compress
29# HTML files like follows:
30#
31# $ htags
32# $ find HTML -name "*.html" -not -name 'index.html' -print | xargs gzip
33#
34#<FilesMatch "\.html.gz$">
35#    AddEncoding x-gzip .gz
36#    ForceType text/html
37#</FilesMatch>
38#RewriteEngine on
39#RewriteCond %{HTTP:Accept-Encoding} gzip
40#RewriteCond %{REQUEST_FILENAME} !\.gz$
41#RewriteCond %{REQUEST_FILENAME}\.gz -s
42#RewriteRule .+ %{REQUEST_URI}.gz
43