修改apache得documentroot
来源:互联网 发布:pyqt5 for windows 编辑:程序博客网 时间:2024/04/30 13:44
一、修改Apache "DocumentRoot"
1.sodu vi/etc/apeche2/httpd.conf #开启virtual hosts模块
Include /private/etc/apache2/extra/httpd-vhosts.conf
2.sodu vi/etc/apache2/extra/httpd-vhosts.conf #添加虚拟服务器的root路径
<VirtualHost *:80>
DocumentRoot "/Users/username/path/"
ServerName www.haosheng.com
</VirtualHost>
3.sodu vi/etc/apache2/extra/httpd-userdir.conf #开启目录访问权:
<Directory "/Users/username/path>
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
0 0
- 修改apache得documentroot
- 如何修改apache得documentroot
- 修改 Apache 文件根目录 (DocumentRoot)
- Ubuntu中Apache修改DocumentRoot(修改网站根目录)
- apache配置文件中的documentroot
- Apache修改DocumentRoot后访问页面出现403错误的解决办法
- DocumentRoot
- Apache httpd.conf 配置 之 DocumentRoot
- Apache 下更改 DocumentRoot 和新建虚拟目录
- Apache 下更改 DocumentRoot 和新建虚拟目录
- Multiple DocumentRoot on Apache on Win7
- Apache 下更改 DocumentRoot 和新建虚拟目录
- Apache HTTP Server 的文件根目录(DocumentRoot)
- 解决修改XAMPP DocumentRoot: Access forbidden!
- 通过apache访问非documentroot下面的程序
- [liunx apache配置]DocumentRoot does not exist解决方法
- 如何设置 Apache HTTP Server 的文件根目录(DocumentRoot)
- apache如何一个ServerName对应多个DocumentRoot
- 深入了解Struts2返回JSON数据的原理及具体应用范例
- EXCEL:将SQL SERVER中的数据导入到 EXCEL
- SlidingMenu使用
- 工厂方法
- C++ Daily《2》----vector容器的resize 与 reserve的区别
- 修改apache得documentroot
- @class SEL IMP
- 3个优秀响应式设计网站推荐:电子商务、主题活动、科技资讯
- [基础]Android 应用的启动
- Objective-C 中的 Meta-class
- 初级链表,麻烦帮我看下问题出在哪?
- 解题报告之 字频统计
- VC让对话框显示就最大化 或固定尺寸
- Oracle删除clob类型字段(回收站)