Apache配置默认首页
2014-09-02 20:17
176 查看
操作系统:CentOS 6.5
Apache默认主页为index.html,如果要修改为index.php或其它,需要修改httpd.conf文件
用vim或其它编辑器打开httpd.conf
在上图中的DirectoryIndex index.html后增加index.php
即如下图所示:
重启Apache,即可。
Apache默认主页为index.html,如果要修改为index.php或其它,需要修改httpd.conf文件
用vim或其它编辑器打开httpd.conf
在上图中的DirectoryIndex index.html后增加index.php
即如下图所示:
重启Apache,即可。
相关文章推荐
- Ubuntu下配置apache的默认首页
- apache中怎么配置网站的默认首页
- web服务器中默认首页和默认网站的配置(以apache服务器为例)
- apache虚拟主机转发配置域名默认跳转首页
- Apache配置默认首页面
- apache 配置默认首页(php)
- web服务器中默认首页和默认网站的配置(以apache服务器为例)
- webconfig 配置 默认首页
- Apache中设置默认首页的方法
- apache配置——iis占用默认80端口
- RHEL6.3配置Apache服务器(1) 配置默认Web站点
- RHEL4- WEB服务(二)~上:apache安装默认配置文件
- Apache中如何设置默认首页具体该怎么操作
- apache 默认首页修改
- apache配置——iis占用默认80端口
- apache默认配置 访问目录403错误 出现You don't have permission to access / on this server
- 在默认安装了php,mysql,apache(httpd)的rhel 5安装phpmyadmin和配置mysql和PHP
- Apache设置默认首页
- Apache虚拟目录和默认首页的设置
- apache 首页配置