帝王谷资源网 Design By www.wdxyy.com
修改配置文件 conf/httpd.conf
1.加入下面两句
NameVirtualHost *:80
Include conf/vhosts
2.在conf目录中建立vhosts目录
然后在 vhosts 目录下面建立相应的站点配置文件
如建立 hhj.jb51.net.conf 文件
内容:
复制代码 代码如下:
<VirtualHost *:80>
ServerAdmin hhj@live.it
ServerName www.hhj.jb51.net
ServerAlias hhj.jb51.net
DocumentRoot "F:\wwwroot\hhj.jb51.net"
DirectoryIndex index.html index.htm index.php
ErrorLog logs/hhj.jb51.net-error_log.log
CustomLog logs/hhj.jb51.net-access_log.log common
<Directory "F:\wwwroot\hhj.jb51.net">
AllowOverride All
Options FollowSymLinks
Order Deny,Allow
Allow from all
</Directory>
</VirtualHost>
3.重启apache服务
1.加入下面两句
NameVirtualHost *:80
Include conf/vhosts
2.在conf目录中建立vhosts目录
然后在 vhosts 目录下面建立相应的站点配置文件
如建立 hhj.jb51.net.conf 文件
内容:
复制代码 代码如下:
<VirtualHost *:80>
ServerAdmin hhj@live.it
ServerName www.hhj.jb51.net
ServerAlias hhj.jb51.net
DocumentRoot "F:\wwwroot\hhj.jb51.net"
DirectoryIndex index.html index.htm index.php
ErrorLog logs/hhj.jb51.net-error_log.log
CustomLog logs/hhj.jb51.net-access_log.log common
<Directory "F:\wwwroot\hhj.jb51.net">
AllowOverride All
Options FollowSymLinks
Order Deny,Allow
Allow from all
</Directory>
</VirtualHost>
3.重启apache服务
标签:
Apache,多站点,虚拟主机
帝王谷资源网 Design By www.wdxyy.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
帝王谷资源网 Design By www.wdxyy.com
暂无评论...
更新日志
2024年05月17日
2024年05月17日
- 【佛之吧沙发】VA-BuddhaBar-BestOf2byRavin(FLAC)
- [ABC唱片]-《雪莉—蓝》[SACD-008][SACD][WAV+CUE]
- 黎瑞恩.2002-理想的日子精选2CD【环球】【WAV+CUE】
- 【驰放沙发(J)】VA-2024-WinterTime,Vol.12(FLAC)
- 雷婷《梦里蓝天HQⅡ》 2023头版限量编号低速原抓[WAV+CUE][463M]
- 韩红《青藏高原+红+韩红精选集》3CD[WAV分轨][1.7G]
- 高胜美《经典金选》1991-1994 4CD[WAV整轨][1.9G]
- 【迷幻电音】AstralWaves-2023-Singles,RemixesandRaritiesII(FLAC)
- 中唱唱片群星《好歌珍藏-游子情深》2CDWAV
- 张国荣.2011-极品天碟LPCD45II(雨果版)【环球】【WAV+CUE】
- 张学友《醒着做梦》[DFF][1.1G]
- 刘惜君 《如我》[WAV分轨][403M]
- 白玛多吉《梦》限量1:1母盘直刻[低速原抓WAV+CUE][508M]
- 魏金栋-金歌新曲-梦里全是桂花香2CD[天凡之音][WAV+CUE]
- 鲛岛有美子-樱花赋HQCD[天龙][WAV+CUE]