// 下階層用テンプレート #topicpath ---- //ここにコンテンツを記述します。 #contents *** デフォルトの文字セット [#g9e1203d] AddDefaultCharset Shift_JIS ***ディレクトリを指定したときに実行されるファイル [#v8ce1ded] DirectoryIndex index.html index.html.var index.php ***特定のディレクトリだけ、デフォルトの文字セットを変える [#c38f9367] <Directory "/var/www/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all AddDefaultCharset Shift_JIS ↑このディレクトリだけ、デフォルトの文字セットがShift_JISになる </Directory> -http://sakaguch.com/PastBBS/0035/B0017722.html ***特定のディレクトリだけ、SSLをかける [#f364e176] 上の設定同様、指定した箇所にだけSSLをかけるには <Location "/hogehoge"> SSLRequireSSL </Location> などとします。 ***特定のディレクトリだけ、SSLをかける2 [#p868e1c1] ssl.confに書けば、SSLでしかアクセスできないようですね。ssl.conf内は <VirtualHost _default_:443> ...... </VirtualHost> で囲まれた箇所があるので、その中に書けばいいって事ですね。 ***cgi-bin内でシンボリックリンクを許可する [#h5939d91] <Directory "/var/www/cgi-bin"> AllowOverride None # Options None Options FollowSymLinks <-ココ Order allow,deny Allow from all </Directory> ---- この記事は #vote(おもしろかった,そうでもない) #comment #topicpath SIZE(10){現在のアクセス:&counter;}