15158846557 在线咨询 在线咨询
15158846557 在线咨询
所在位置: 首页 > 营销资讯 > 网站运营 > wampserver3.0.6版本怎么设置虚拟主机?

wampserver3.0.6版本怎么设置虚拟主机?

时间:2024-01-12 09:36:01 | 来源:网站运营

时间:2024-01-12 09:36:01 来源:网站运营

wampserver3.0.6版本怎么设置虚拟主机?:开启虚拟主机是在conf/httpd.conf里面的1

#Include conf/extra/httpd-vhosts.conf

把#去掉就开启虚拟主机了。

虚拟主机配置:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

#配置自己的虚拟主机

#网站目录,如果在www目录下的php目录,下面就填写F:/www/phpp

DocumentRoot "F:/www"

#域名

ServerName localhost

#这里配置欢迎首页面

DirectoryIndex index.html index.htm index.php

Options FollowSymLinks

#不允许别人修改我们的页面

AllowOverride None

#设置访问权限

order allow,deny

Allow from all

关键词:设置,虚拟,主机,版本

74
73
25
news

版权所有© 亿企邦 1997-2025 保留一切法律许可权利。

为了最佳展示效果,本站不支持IE9及以下版本的浏览器,建议您使用谷歌Chrome浏览器。 点击下载Chrome浏览器
关闭