系统自动安装及基本故障排除、sudo详解
2015-05-25 18:04
302 查看
转自 http://blog.csdn.net/nailwl/article/details/5465888
配置虚拟主机给aupair和Under a bus 使用同一 IP:PORT,根据不同url来区分不同虚拟主机,配置步骤如下: 1、c:/WINDOWS/system32/drivers/etc目录下的host文件,添加配置信息如下: 127.0.0.1 www.aupair.net 127.0.0.1 www.uab.net 要配置apache的httpd.conf配置文件: #如果要基于url的多虚拟机,必须要有这个配置 NameVirtualHost *:80 #VirtualHost For Under A Bus <VirtualHost *:80> ServerAdmin nailwl86@gmail.com DocumentRoot F:/WebRoot/webuab #here is the url, you should synchronize it with the host configuration ServerName www.uab.net ErrorLog logs/uabdev.5ims.net-error_log CustomLog logs/uabdev.5ims.net-access_log common <Directory /> Options FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from All </Directory> <Directory "F:/WebRoot/webuab/"> Options FollowSymLinks AllowOverride All Order allow,deny Allow from All </Directory> </VirtualHost> #VirtualHost For Aupair <VirtualHost *:80> ServerAdmin nailwl86@gmail.com DocumentRoot F:/WebRoot/aupair #here is the url, you should synchronize it with the host configuration ServerName www.aupair.net ErrorLog logs/aupairdev.5ims.net-error_log CustomLog logs/aupairdev.5ims.net-access_log common <Directory /> Options FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from All </Directory> <Directory "F:/WebRoot/aupair/"> Options FollowSymLinks AllowOverride All Order allow,deny Allow from All </Directory> </VirtualHost> 重新启动apache, 分别在浏览器中输入: http://www.uab.net http://www.aupair.net
相关文章推荐
- Windows XP SP3系统安装IIS故障排除大全
- win7下安装linux双系统故障排除
- mac系统故障排除几个基本方法
- 电脑维修、系统安装维护组装、软硬件维护及故障排除、网络调试、综合布线、监控安防
- Gentoo安装详解(一) -- 安装基本系统
- Gentoo安装详解(一) -- 安装基本系统
- Nagios 系统监控基本安装配置过程详解
- 九、Linux系统安装和常见故障排除
- Linux基本操作系列(二):在CentOS 6.8系统上安装Tomcat并配置自动启动
- Linux基本操作系列(二):在CentOS 6.8系统上安装Tomcat并配置自动启动
- Linux基本操作系列(二):在CentOS 6.8系统上安装Tomcat并配置自动启动
- Linux基本操作系列(二):在CentOS 6.8系统上安装Tomcat并配置自动启动
- Linux基本操作系列(二):在CentOS 6.8系统上安装Tomcat并配置自动启动
- Linux基本操作系列(二):在CentOS 6.8系统上安装Tomcat并配置自动启动
- Linux基本操作系列(二):在CentOS 6.8系统上安装Tomcat并配置自动启动
- Linux基本操作系列(二):在CentOS 6.8系统上安装Tomcat并配置自动启动
- Linux基本操作系列(二):在CentOS 6.8系统上安装Tomcat并配置自动启动
- Linux基本操作系列(二):在CentOS 6.8系统上安装Tomcat并配置自动启动
- Linux基本操作系列(二):在CentOS 6.8系统上安装Tomcat并配置自动启动
- Linux基本操作系列(二):在CentOS 6.8系统上安装Tomcat并配置自动启动