WDlinux官方论坛's Archiver

大凌 发表于 2015-10-23 01:10

WDCP创建整站并安装好网站程序,重新编辑网站并保存后无法打开网站

[i=s] 本帖最后由 大凌 于 2015-10-23 01:18 编辑 [/i]

[size=4]我先在WDCP面板中创建了一个整站,并且安装好了wordpress网站程序,网站能正常打开。[/size][size=4]    [/size]
[size=4]  后来,我进入到站点列表,点了右边的“编”(编辑网站)这个按钮,进入到“[color=#000][font=Tahoma, Arial, Helvetica, sans-serif][b]虚拟主机修改[/b][/font][/color]”界面,并点击了“保存”了按钮,之后网站就打不开了

[/size]
[size=4]给出的错误提示如下:
Forbidden[/size][p=30, 2, left][size=4]You don't have permission to access / on this server.[/size][/p][p=30, 2, left][size=4]
[/size][/p][p=30, 2, left][size=4]在百度找了很多方法,也都尝试了,尝试的方法有以下2种[/size][/p][p=30, 2, left][size=4]方法1:修改文件权限[/size][/p][p=30, 2, left][size=4]方法2:修改配置文件,但是我网站的配置文件[/size][/p][p=30, 2, left][color=#000][font=Simsun]将以下[/font][/color][/p][p=30, 2, left][color=#000][font=Simsun]<Directory />[/font][/color]
[color=#000][font=Simsun]        Options FollowSymLinks[/font][/color]
[color=#000][font=Simsun]        AllowOverride None[/font][/color]
[color=#000][font=Simsun]        Order deny,allow[/font][/color]

[font=Simsun][color=#ff0000]Deny from all[/color][/font]
[color=#000][font=Simsun]    </Directory>[/font][/color][/p][p=30, 2, left][color=#000][font=Simsun]改为:[/font][/color][/p][p=30, 2, left][color=#000][font=Simsun][size=12px]<Directory />[/size][/font][/color]
[color=#000][font=Simsun][size=12px]        Options FollowSymLinks[/size][/font][/color]
[color=#000][font=Simsun][size=12px]        AllowOverride None[/size][/font][/color]
[color=#000][font=Simsun][size=12px]        Order deny,allow[/size][/font][/color]

[font=Simsun][size=12px][color=#ff0000] allow from all[/color][/size][/font]
[color=#000][font=Simsun][size=12px]    </Directory>[/size][/font][/color][/p][p=30, 2, left][font=Simsun][size=4][color=#000000]这2个方法都没用,求助大家帮忙,有没有其他解决这个问题[/color][/size][/font][color=#000][font=Simsun]方法[/font][/color][font=Simsun]。有没有碰到同样情况的朋友,如果解决了这个问题,希望能给个方法,谢谢![/font][/p]

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.