apache 修改 把根目录指向项目某个目录下
2015-03-27 16:09
190 查看
<Directory "D:/wamp/www/projectname/filename">
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Deny from none
Allow from all
</Directory>
NameVirtualHost 127.0.0.1:80
<VirtualHost adm.xxxx.com:80>
DocumentRoot D:/wamp/www/projectname/filename
ServerName adm.xxxx.com
ServerAlias adm.xxxx.com
</VirtualHost>
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Deny from none
Allow from all
</Directory>
NameVirtualHost 127.0.0.1:80
<VirtualHost adm.xxxx.com:80>
DocumentRoot D:/wamp/www/projectname/filename
ServerName adm.xxxx.com
ServerAlias adm.xxxx.com
</VirtualHost>
相关文章推荐
- apache 修改 把根目录指向项目某个目录下
- 【Eclipse_部署web项目篇】修改eclipse默认指向的WebContent目录作为启动运行加载
- Ubuntu中Apache修改DocumentRoot(修改网站根目录)
- eclipse3.6默认指向WebContent目录修改为webRoot 设置说明
- Apache修改127.0.0.1的指向并解决修改后无法访问的问题
- Tomcat不输入项目名进入自己项目(根目录指向自己的项目)
- eclipse默认指向WebContent目录修改为webRoot 设置说明
- 点击图标 标记为星标记事mac中修改默认的apache网站根目录位置
- win7 下让apache服务器指向特定目录
- wamp的Laravel项目的Apache虚拟主机域名绑定和端口修改(实用)
- php 修改了网页访问存储目录,Apache2.4启动时报AH00526错误(Invalid command 'Order')
- eclipse默认指向 WebContent 目录 修改为 webRoot
- Apache web目录修改
- Myeclipse中的使用javassist修改时class文件时生成的class文件在项目的根目录下。
- ubuntu 下修改apache的默认端口与根目录
- eclipse默认指向WebContent目录修改为webRoot 设置说明
- eclipse默认指向WebContent目录修改为webRoot 设置说明
- eclipse3.6默认指向WebContent目录修改为webRoot 设置说明 .
- C# Setup项目 如何修改默认程序目录(安装路径)
- Apache修改根目录