AddDefaultCharset Shift_JIS
DirectoryIndex index.html index.html.var index.php
<Directory "/var/www/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all AddDefaultCharset Shift_JIS ↑このディレクトリだけ、デフォルトの文字セットがShift_JISになる </Directory>
上の設定同様、指定した箇所にだけSSLをかけるには
<Location "/hogehoge"> SSLRequireSSL </Location>
などとします。
ssl.confに書けば、SSLでしかアクセスできないようですね。ssl.conf内は
<VirtualHost _default_:443> ...... </VirtualHost>
で囲まれた箇所があるので、その中に書けばいいって事ですね。
<Directory "/var/www/cgi-bin"> AllowOverride None # Options None Options FollowSymLinks <-ココ Order allow,deny Allow from all </Directory>
[root@www conf]# /usr/sbin/httpd -S wildcard NameVirtualHosts and _default_ servers: _default_:443 www.hogehoge.com (.........ssl.conf:81) *:80 is a NameVirtualHost default server www.hogehoge.com (httpd.conf:993) port 80 namevhost www.hogehoge.com (httpd.conf:993) port 80 namevhost www.fugafuga.com (httpd.conf:997)
この記事は
現在のアクセス:12197