Apache 配置虚拟
来源:互联网 发布:彩妆淘宝店找货源 编辑:程序博客网 时间:2024/06/05 03:23
Apache 2.2 升級到 2.4 的 Conf 調整修復 在这里http://blog.longwin.com.tw/2014/03/apache-22-24-upgrade-conf-2014/
韩顺平老师用的是2.2版本
1. 添加虚拟目录的节点
#配置虚拟目录
<IfModule dir_module>
#direcotory相当于是欢迎页面
DirectoryIndex index.html index.htmindex.php
#你的站点别名
Alias /myblog "D:/myblog"
<Directory d:/myblog>
#这是访问权限设置
Order allow,deny
Allow from all #红字改为 Require all granted(2.4版本)
</Directory>
</IfModule>
3. 测试
http://localhost/myblog/news.html
4. 如何设置欢迎页面
http://localhost/myblog/
DirectoryIndex news.html index.html index.htmindex.php
0 0
- 配置apache虚拟域名
- Apache 配置虚拟
- Apache 虚拟域名配置
- apache配置虚拟域名
- apache配置虚拟域名
- Apache配置虚拟域名
- 配置apache虚拟域名
- apache配置虚拟主目录
- Apache配置虚拟域名
- Apache配置虚拟域名
- CentOS apache配置虚拟服务器
- Ubuntu apache配置虚拟路由
- [亲测]Apache配置虚拟域名
- Apache下配置虚拟域名
- apache vhost 虚拟配置问题
- Apache配置本地虚拟域名
- apache tomcat虚拟路径配置
- window+apache配置虚拟域名
- 细说 ASP.NET控制HTTP缓存--浏览器缓存
- UVA - 10815 Andy's First Dictionary
- HDU5203 Rikka with wood sticks
- java代码实现商品类别的无限级分类显示
- SQL Server查询分页技术
- Apache 配置虚拟
- 怎么理解并发多进程服务和多线程服务器
- C++数据结构之链表
- 关于我的新网站
- myeclipse报错An error has occurred. See error log for more details. com/genuitec/eclipse/j2eedt/core/J
- 步步为营_Android开发课[21]_用户界面之Notification(通知栏)
- Hduoj1074【DP状态压缩】
- USACO:2.1.5 Hamming Codes 汉明码
- datastage报Windows Scripting Engine错误的解决办法