Linux伊甸园论坛's Archiver

ajie1984 发表于 2008-5-4 00:32

高手帮忙 PHP架设成功了。但是网站打不开~

[url]www.20net.net/test.php[/url]  这个正常为什么
[url]www.20net.net/bbs/index.php[/url]这个不正常?

在线等。都忙了好几天了。高手给帮忙啊.....................

ajie1984 发表于 2008-5-4 00:47

一个人定啊..! 继续等。。。。。。。。。。。。。。。。``

ajie1984 发表于 2008-5-4 00:54

:Q :Q :Q 晕死。。希望来个好心的人。!

ajie1984 发表于 2008-5-4 00:56

Forbidden
You don't have permission to access /bbs/ on this server.


--------------------------------------------------------------------------------

Apache/2.0.52 (Red Hat) Server at 124.192.65.222 Port 80


打开就这样!.................

ajie1984 发表于 2008-5-4 03:57

自己解决 。把SELINUX关了 解决问题!```

bwb 发表于 2008-5-4 11:08

SElinux最好不要关,很管用。
可以参考相关文章和这个:
[url]http://blog.linuxeden.com/index.php?uid-3367-action-viewspace-itemid-6205[/url]

jilong 发表于 2008-5-4 17:00

那是防火不要关,你看看防火墙配错没

ajie1984 发表于 2008-5-4 17:00

我的APAChe 是乱码 我服务器中没有 AddDefaultCharset 这个选项啊!

(1)服务器端:
修改httpd.conf (在Redhat中放置的位置为/etc/httpd/conf/)
查找:
AddDefaultCharset ISO-8859-1
改成:

[Copy to clipboard] [ - ]CODE:
#AddDefaultCharset ISO-8859-1

AddDefaultCharset off

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.