禅道安装
90
关于在域名中去掉"www/"的问题。已解决 悬赏5积分
提问者jasonwei
答案数1
阅读数5848
发表时间2011-02-25 14:41:03
我的域名:http://pms.xxxx.com/
http://pms.xxxx.com/www/
apache的配置文件已经配置成功,config/my.php中的webRoot也是"/".
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>
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
答案列表
🍟 1. 检查下访问权限。
2. 检查下htaccess文件的设置。 3. 检查下mod_rewrite是否加载。 其他的帮不了你了。
回复
|
联系我们
联系人
魏中显/高级客户经理
电话(微信)
18561939726
QQ号码
1746749398
联系邮箱
weizhongxian@chandao.com