四虎影视在线影院在线观看,小s货再浪些再咬紧点h,国产精品水嫩水嫩,97精产国品一二三产区

Board logo

標(biāo)題: [求助] 虛擬主機(jī)在WDCP系統(tǒng)下的lanmp環(huán)境的二級域名的配置安裝問題 [打印本頁]

作者: 嗨西亞斯網(wǎng)    時間: 2012-4-24 18:58     標(biāo)題: 虛擬主機(jī)在WDCP系統(tǒng)下的lanmp環(huán)境的二級域名的配置安裝問題

本帖最后由 嗨西亞斯網(wǎng) 于 2012-4-24 19:03 編輯

虛擬主機(jī):     欲在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后臺建立二級站點(diǎn),直接配置apache,和nginx的文件


問題:訪問:news.hisias.com/install

出現(xiàn)錯誤:
Forbidden

You 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://cd-genova.com/bbs/) Powered by Discuz! 7.2