已解决 关于在域名中去掉"www/"的问题。
我的域名:http://pms.xxxx.com/
              http://pms.xxxx.com/www/
apache的配置文件已经配置成功,config/my.php中的webRoot也是"/".


 ServerName www.pms.xxxx.com
ServerAlias www.pms.xxx.com pms.xxxx.com 
ServerAdmin webmaster@xxxx.com
DocumentRoot /home/xxxx/domains/xxxx.com/public_html/pms
ScriptAlias /cgi-bin/ /home/xxxx/domains/xxxx.com/public_html/pms/cgi-bin/

UseCanonicalName OFF

SuexecUserGroup xxx  xxxx
CustomLog  ar/log tpd/domains/xxx.com.pms.bytes bytes
CustomLog  ar/log tpd/domains/xxx.com.pms.log combined
ErrorLog  ar/log tpd/domains/xxx.com.pms.error.log
<Directory /home/xxx/domains/xxx.com/public_html/pms>
Options +Includes -Indexes

AllowOverride All

                suPHP_Engine ON
suPHP_UserGroup xxx    xxx

</Directory>

最终访问:pms.xxx.com仍旧报错:信息如下:



Forbidden

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

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Apache/2 Server at pms.jasonwei.com Port 80
禅道版本 1.4 源码包
操作系统 CentOS
客户端浏览器 IE7

提问者: jasonwei 悬赏:5 日期: 2011-02-25 14:41:03 答案:1 点击:5730

获取技术支持

QQ: 电话:
设置备注
答案列表
2011/02/25
1. 检查下访问权限。
2. 检查下htaccess文件的设置。

3. 检查下mod_rewrite是否加载。

其他的帮不了你了。