安装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> 没有权限? ;P 有的有的 防火墙呢? 没有。。。 方便把后台帐号密码PM过来看一下吗? 好了! 你的首页文件没有,需要进去后台一下就可以了,就相当于生成网站首页一样。 **** 作者被禁止或删除 内容自动屏蔽 ****
页:
[1]