« | February | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | »

Dec 12, 2005

Blosxom.cgiを見せない

Blosxom.cgiを見せないために.htaccessに次のような設定
DirectoryIndex blosxom.cgi RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ blosxom.cgi/$1 [L,QSA]
さくらサーバでこの設定をすると
サブドメインの設定をしていると500エラー(-_-;)
サブドメインを使わない設定にするとうまくいった

どうしてなのかわからない?
blosxom.orgを参考にした

Posted at 18:37 in web:blosxom | WriteBacks (754) | Edit