作者whisp1222 ()
看板Linux
標題[問題] apache設定問題
時間Mon Jul 13 19:37:49 2009
現在只是在/var/www/html 下面放一個index.html
但是都會出現403 Forbidden You don't have permission to access /index.htm on...
我查過google大多是寫
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
^^^^^^改成allow
</Directory>
我查一下conf檔
找到類似的
<Directory />
Options Index FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
所以我是改這段的deny=>allow
也關掉selinux
重新啟動以後還是forbidden
請問有人遇過這問題嗎
OS : CentOS 5.3
apache 2.2.3
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.116.245.6
→ whisp1222:防火牆也關了 07/13 19:42
→ monkey203:資料夾權限呢?? 07/13 21:09
→ whisp1222:資料夾權限開了 07/13 21:20
→ whisp1222:原來是index.html的權限沒開 07/13 21:20