# httpd.conf の設定で、.htaccess内での設定が許されていない項目を、設定してい
# るとInternal Server Errorになることがあります。 その場合、httpd.conf で、
# AllowOverrideを適切に設定してください。
# (例) AllowOverride AuthConfig FileInfo Options Limit
# または、全ての設定をhttpd.conf内で行なうようにしてください。

# CGIの実行許可
AddHandler cgi-script .cgi
Options +ExecCGI
# 初期ページの設定
DirectoryIndex index.cgi

# 一般ユーザの認証についての設定
#<Files index.cgi>
#    AuthName      "authentication for guest user."
#    AuthType      Basic
#    AuthUserFile  /home/kagemai/www/skillsheet/.htpasswd
#    Require       valid-user
#</Files>

# 隠すファイルやディレクトリ
<FilesMatch ".*">
    deny from all
</FilesMatch>
# 見せるファイル
<FilesMatch "(^$|\.cgi$|\.jpg$|\.png$|\.gif$|\.css$|\.js$)">
    allow from all
</FilesMatch>
