apache2.0
2003年11月21日もう一度設定方法をメモ。
/etc/httpd/conf/httpd.conf
Line273:ServerName hotta.dip.jp
Line372:#UserDir disable
Line379:UserDir public_html
Line387-398:#を取る
その後に以下の行を挿入
ScriptAlias /~*/cgi-bin/ "/home/*/public_html/cgi-bin"
<Directory /home/*/public_html/cgi-bin>
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Line???:DirectoryIndex に index.shtml 追加
Line841:Addhandler cgi-scripts .cgi .pl
あと,
AddDefaultCharaset は#をつける
こんなもんかな?
/etc/httpd/conf/httpd.conf
Line273:ServerName hotta.dip.jp
Line372:#UserDir disable
Line379:UserDir public_html
Line387-398:#を取る
その後に以下の行を挿入
ScriptAlias /~*/cgi-bin/ "/home/*/public_html/cgi-bin"
<Directory /home/*/public_html/cgi-bin>
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Line???:DirectoryIndex に index.shtml 追加
Line841:Addhandler cgi-scripts .cgi .pl
あと,
AddDefaultCharaset は#をつける
こんなもんかな?
コメント