lamp环境vhost配置

首先在apache/conf/httpd.conf配置文件中开启apache的vhost功能,搜索vhost,取消注释。打开apache/conf/extra/httpd-vhosts.conf...

lnmp环境vhost配置

lnmp环境下的nginx站点,首先在/usr/local/nginx/conf/nginx.conf中开启vhost:include vhost/*.conf;开启后,在'/usr/loca...