apache虚拟主机配置
来源:互联网 发布:老司机软件 编辑:程序博客网 时间:2024/05/20 20:46
apache虚拟主机配置
1.启用 httpd-vhosts.conf
在 httpd.conf文件中
# Virtual hosts 虚拟主机
Include conf/extra/httpd-vhosts.conf
启用
2.在httpd-vhosts.conf文件中做配置 路径conf/extra/httpd-vhosts.conf
在最后面加上
#配置我们自己的虚拟主机
<VirtualHost 127.0.0.1:80>
DocumentRoot "E:/wamp/www"
#这里配置欢迎首页面
DirectoryIndex index.html index.htm index.php
<Directory />
Options FollowSymLinks
#不许可别人修改我们的页面
AllowOverride None
#设置访问权限
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
3.修改hosts 文件 路径 C:\Windows\System32\Drivers\etc (注:浏览器寻找域名是 先找hosts文件下 找不到然后到dns上找)
后面加上 127.0.0.1 www.flydream.com 域名自己定义
1.启用 httpd-vhosts.conf
在 httpd.conf文件中
# Virtual hosts 虚拟主机
Include conf/extra/httpd-vhosts.conf
启用
2.在httpd-vhosts.conf文件中做配置 路径conf/extra/httpd-vhosts.conf
在最后面加上
#配置我们自己的虚拟主机
<VirtualHost 127.0.0.1:80>
DocumentRoot "E:/wamp/www"
#这里配置欢迎首页面
DirectoryIndex index.html index.htm index.php
<Directory />
Options FollowSymLinks
#不许可别人修改我们的页面
AllowOverride None
#设置访问权限
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
3.修改hosts 文件 路径 C:\Windows\System32\Drivers\etc (注:浏览器寻找域名是 先找hosts文件下 找不到然后到dns上找)
后面加上 127.0.0.1 www.flydream.com 域名自己定义
- APACHE虚拟主机配置方法
- Apache虚拟主机的配置
- apache虚拟主机配置
- apache+weblogic虚拟主机配置
- Apache虚拟主机的配置
- apache 虚拟主机配置记录
- Apache 虚拟主机配置笔记
- apache虚拟主机配置
- apache虚拟主机配置
- apache虚拟主机配置小记
- windows apache 虚拟主机配置
- Apache 2.2 虚拟主机配置
- apache配置虚拟主机
- 配置Apache虚拟主机
- Jboss5+apache虚拟主机配置
- apache hosts 虚拟主机 配置
- apache虚拟主机配置示例
- 配置apache虚拟主机
- Windows下的php Memcache安装
- 用lambda构建ORM查询语句
- AS3933唤醒帧解释
- 黑马程序员_java集合(1) Collection & List & Set & Map
- 数据库操作
- apache虚拟主机配置
- SIEMENS 用于PC/PG的PROFINET接口——CP 1613
- .Net中俩种使用不定参数的方法
- 在NDK上建立自己的项目
- Menu操作
- Android下的多媒体开源项目
- 女程序员的职业规划
- install Android development environment in the Ubuntu
- 用VC进行COM编程所必须掌握的理论知识