
标题: [求助] 虚拟主机在WDCP系统下的lanmp环境的二级域名的配置安装问题 [打印本页]
作者: 嗨西亚斯网 时间: 2012-4-24 18:58 标题: 虚拟主机在WDCP系统下的lanmp环境的二级域名的配置安装问题
本帖最后由 嗨西亚斯网 于 2012-4-24 19:03 编辑
虚拟主机: 欲在news.hisias.com下安装一个php程序 apache下的vhost 的conf配置:
<VirtualHost *:88>DocumentRoot /www/web/news </VirtualHost>
<Directory /www/web/news>
AllowOverride None
Allow from all
</Directory> nginx下的vhost 的conf配置:
server
{
listen 80;
server_name news.hisias.com ;
index index.shtml index.php index.html index.htm;
root /www/web/news;
location ~ \.php$ {
proxy_pass http://127.0.0.1:88;
include naproxy.conf;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ {
expires 30d;
}
location ~ .*\.(js|css)?$ {
expires 12h;
}
}
注:没有在wdcp后台建立二级站点,直接配置apache,和nginx的文件
问题:访问:news.hisias.com/install
出现错误:
ForbiddenYou don't have permission to access /install/ on this server.
作者: admin 时间: 2012-4-25 11:49
apache没有绑定域名
作者: hackeradrian 时间: 2012-4-26 00:17

唉~~~
| 欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) |
Powered by Discuz! 7.2 |