操作系统:CentOS 6.5Apache默认主页为index.html,如果要修改为index.php或其它,需要修改httpd.conf文件用vim或其它编辑器打开httpd.conf 在上图中的DirectoryIndex index.html后增加index.php即如下图所示: 重启...
操作系统:CentOS 6.5
Apache默认主页为index.html,如果要修改为index.php或其它,需要修改httpd.conf文件
用vim或其它编辑器打开httpd.conf
在上图中的DirectoryIndex index.html后增加index.php
即如下图所示:
重启Apache,即可。
原文:http://www.cnblogs.com/kinglau/p/3952201.html
沃梦达教程
本文标题为:Apache配置默认首页


猜你喜欢
- 教你在docker 中搭建 PHP8 + Apache 环境的过程 2022-10-06
- 解决:apache24 安装后闪退和配置端口映射和连接超时设置 2023-09-11
- CentOS7安装GlusterFS集群的全过程 2022-10-10
- CentOS_mini下安装docker 之 安装docker CE 2023-09-23
- IIS搭建ftp服务器的详细教程 2022-11-15
- 【转载】CentOS安装Tomcat 2023-09-24
- KVM虚拟化Linux Bridge环境部署的方法步骤 2023-07-11
- 阿里云ECS排查CPU数据分析 2022-10-06
- 利用Docker 运行 python 简单程序 2022-10-16
- nginx中封禁ip和允许内网ip访问的实现示例 2022-09-23