WDlinux官方论坛's Archiver

hackeradrian 发表于 2012-4-26 15:47

安装cmstop后出现403 Forbidden

[float=right][attach]601[/attach][/float]网站是:lanmp  


今天安装cmstop文件出现了 403 Forbidden


nginx 配置

vim  news.hisias.com.conf
server {
        listen       80;
        server_name  news.hisias.com;
        root /www/web/news;
        index index.shtml index.php index.html index.htm;
        location ~ \.php$ {
                proxy_pass [url=http://127.0.0.1:88]http://127.0.0.1:88[/url];
                include naproxy.conf;
        }
        location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ {
                expires      30d;
        }
        location ~ .*\.(js|css)?$ {
                expires      12h;
        }
    }



apache  配置
vim news.default.conf

<VirtualHost *:88>
DocumentRoot /www/web/news
ServerName  news.hisias.com
</VirtualHost>
<Directory /www/web/news>
   Options  FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

liangwei 发表于 2012-4-26 17:03

没有权限?

hackeradrian 发表于 2012-4-26 17:27

;P  有的有的

liangwei 发表于 2012-4-26 17:32

防火墙呢?

hackeradrian 发表于 2012-4-26 17:36

没有。。。

liangwei 发表于 2012-4-26 17:42

方便把后台帐号密码PM过来看一下吗?

liangwei 发表于 2012-4-26 18:24

好了! 你的首页文件没有,需要进去后台一下就可以了,就相当于生成网站首页一样。

ftium4 发表于 2012-4-27 16:04

**** 作者被禁止或删除 内容自动屏蔽 ****

页: [1]

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