沃梦达 / 编程技术 / 服务器 / 正文

wdcp下nginx+apache混合模式的主机配置

/www/wdlinux/httpd-2.2.22/conf/vhost/xxx.xxx.com.confVirtualHost *:88DocumentRoot /www/web/xxxxxxx/public_html/web /www/wdlinux/nginx-1.0.15/conf/vhost/xxx.xxx.com.conflisten 80; server_name ...

 

/www/wdlinux/httpd-2.2.22/conf/vhost/xxx.xxx.com.conf

<VirtualHost *:88>
DocumentRoot /www/web/xxxxxxx/public_html/web

 

/www/wdlinux/nginx-1.0.15/conf/vhost/xxx.xxx.com.conf

listen 80;

server_name d.itteer.com;
root /www/web/xxxxxxx/public_html/web/;

原文:http://www.cnblogs.com/meetrice/p/3553193.html

本文标题为:wdcp下nginx+apache混合模式的主机配置

基础教程推荐