xampp 虚拟目录配置
2016-08-07 09:20
288 查看
配置文件在apache\conf\extra\httpd-vhosts.conf
<VirtualHost 域名:端口号 >
ServerAdmin webmaster@域名
RewriteEngine On
DocumentRoot "目录"
ServerName 域名
<Directory "目录">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>
例如:
<VirtualHost localhost:80>
ServerAdmin webmaster@nie.a.com
RewriteEngine On
DocumentRoot "E:/xampp/htdocs/jsx/"
ServerName nie.a.com
<Directory "E:/xampp/htdocs/jsx/">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>
邢台招聘 http://www.jinshixun.com/quanzhi/ kk06
<VirtualHost 域名:端口号 >
ServerAdmin webmaster@域名
RewriteEngine On
DocumentRoot "目录"
ServerName 域名
<Directory "目录">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>
例如:
<VirtualHost localhost:80>
ServerAdmin webmaster@nie.a.com
RewriteEngine On
DocumentRoot "E:/xampp/htdocs/jsx/"
ServerName nie.a.com
<Directory "E:/xampp/htdocs/jsx/">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>
邢台招聘 http://www.jinshixun.com/quanzhi/ kk06
相关文章推荐
- XAMPP配置基于虚拟目录、多域名的环境
- XAMPP 配置YII的Web目录的URL为/localhost/yii,通过Alias命令设置虚拟目录,同时解决403 forbidden错误
- apache配置虚拟目录
- 一个WEB项目安装包,自动配置数据库,config文件和虚拟目录。。(原创)
- tomcat下配置jsp、servlet.JavaBean.数据库连接池.虚拟目录
- Tomcat下配置Web应用程序的虚拟目录
- 网站配置了Url重写的Handler会导致虚拟目录找不到dll
- 在Tomcat中配置WEB站点的虚拟目录
- Resin中虚拟目录、数据源、Servlet的配置方法
- TOMCAT 主目录 与虚拟目录的配置(转自:http://passionaltowel.spaces.live.com/blog/)
- 根目录和虚拟目录的配置!
- "在应用程序级别之外使用注册为 allowDefinition='MachineToApplication' 的节是错误的。如果在 IIS 中没有将虚拟目录配置为应用程序,则可能导致此错误"的解决方法
- Tomcat5.0.27配置虚拟目录
- Asp.net网站的ClickOnce自动部署(3)-虚拟目录的配置
- Asp.net网站的ClickOnce自动部署(2)-虚拟目录的配置
- 分析器错误信息: 在应用程序级别以外使用注册为 allowDefinition='MachineToApplication' 的节是错误的。导致该错误的原因可能是在 IIS 中没有将虚拟目录作为应用程序进行配置。
- Apacher虚拟主机及虚拟目录配置
- 配置Tomcat的虚拟目录--转载
- 在TOMCAT中配置虚拟目录
- JBoss 的一些配置(端口,虚拟目录,虚拟主机,中文问题,数据库连接)