xrea的强制广告代码修改了上传的配置文件,引起PHP代码错误导致404 Forbidden。
解决办法:
xrea Forbidden的解决方法编辑?
上传文件根目录新建 .htaccess 文件。不能新建的直接在桌面新建记事本文件,然后上传后修改文件名
加入: <Limit POST> order allow,deny allow from all </Limit>
就 OK了
上传文件根目录新建 .htaccess 文件。不能新建的直接在桌面新建记事本文件,然后上传后修改文件名
加入: <Limit POST> order allow,deny allow from all </Limit>
就 OK了
也可以顺便彻底的删除广告,那么 .htaccess 内容如下:
<Limit POST>
order allow,deny
allow from all
</Limit>
LayoutIgnoreURI *.php
LayoutIgnoreURI *.cgi
LayoutIgnoreURI *.htm
LayoutIgnoreURI *.html
LayoutIgnoreURI *.xhtml
发表评论