配置Apache的配置文件

 时间:2024-10-13 09:41:20

1、打开电脑,按“ctrl+R”或者是点击电脑左下角的“开始”按钮,打开全部程序,找到AppServer软件。

配置Apache的配置文件

2、按照下图所示,点击“钽吟篑瑜AppServ”,打开菜单以后,点击"Configuration Server",再点击“Apache Edit the httpd.conf Configuration File”

配置Apache的配置文件

3、打开APache的配置文件以后,按下“ctrl+F”,搜索“index.html”,会搜到如下图所示的结果。

配置Apache的配置文件

4、## DirectoryIndex: sets the file that Apache will serve if a director烤恤鹇灭y# is requested.#<IfModule dir_module> DirectoryIndex index.html index.php index.htm</IfModule>这段话的意思就是:APache运行时,如果没有输入完整的链接,APache就默认先执行index.html,如果没有index.html,就默认执行index.php。

5、理解了上面所说的以后,我们就可以修改配置文件了,使APache默认运行index.html还是默认运行index.php。记得,修改配置文件以后,要重启一下APache。

  • coreldraw vba脚本教程-统一尺寸
  • Oracle如何修改共享池的大小
  • 使用Serv-U配合nat123架设FTP服务器
  • oracle数据如何导入ES
  • win7系统如何部署iis环境
  • 热门搜索
    济南旅游指南 背包客旅游网 白鹿镇旅游攻略 甘肃旅游网 武汉市旅游局 槟城旅游攻略 清明 旅游 浙江仙居旅游 罗浮山旅游 越南旅游地图