全国免费服务热线:

18982081108
✕

成都弹性云服务器,成都高防云服务器,互联网数据服务,成都祈钰瑶

httpd-vhosts.conf设置

httpd-vhosts.conf文件地址:D:\APMServ5.2.6\Apache\conf\extra

让客户满意是我们工作的目标,不断超越客户的期望值来自于我们对这个行业的热爱。我们立志把好的技术通过有效、简单的方式提供给客户,将通过不懈努力成为客户在信息化领域值得信任、有价值的长期合作伙伴,公司提供的服务项目有:空间域名、网站空间、营销软件、网站建设、荆州网站维护、网站推广。

<VirtualHost *:80>
ServerName www.mybug.cn
DocumentRoot "D:/APMServ5.2.6/www/htdocs/mantis"
<Directory "D:/APMServ5.2.6/www/htdocs/mantis">
Options FollowSymLinks IncludesNOEXEC Indexes
DirectoryIndex index.html index.htm default.htm index.php default.php index.cgi default.cgi index.pl default.pl index.shtml
AllowOverride None
Order Deny,Allow
Allow from all
</Directory>
</VirtualHost>

设置完成后需要修改hosts文件,加上IP www.mybug.cn

局域网内其他人访问,需要在本地修改hosts文件,加上IP www.mybug.cn

然后就可以正常访问IP www.mybug.cn了