httpd.confを添削してください!!(長文)
こんにちわ
いろいろと調べながらhttpd.confを自分の理想の動作を得るたねに設定したつもりです。
添削をお願いします。
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
DocumentRoot /var/www/html
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory "/var/www/html"> #←home
Options FollowSymLinks Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
#.htaccessを許可、cgiは不可、ssiは許可、シンボリックリンク許可
Order~略
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
<Directory /home/*/public_html>
AllowOverride AuthConfig Limit
Options +ExecCGI +Includes
</Directory>
#ユーザー領域では.htaccessで認証、アクセス元などで制御の許可。
それ以外は不可。
homeでcgiが不可ですがここでは許可したいので+を付けた。
<Directory "/var/www/cgi-bin">
AllowOverride All
Options ExecCGI
Order allow,deny
Allow from all
AddHandler image .gif .jpg
AddHandler text/html .htm .html
</Directory>
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
こんな感じなんですがどこかおかしいでしょうか?
投稿日時 - 2004-05-26 23:46:26
このQ&Aは役に立ちましたか?
4人が「このQ&Aが役に立った」と投票しています