訪問項目時,不能自動加載index.php文件

1、修改配置文件D:\lamp\apache\conf\httpd.conf加上DirectoryIndex index.hmtl index.phpphp

<IfModule !mpm_netware_module>html

DirectoryIndex index.hmtl index.phpapache

<IfModule !mpm_winnt_module>spa

2、第二中方法:htm

修改D:\lamp\apache\conf\extra\ httpd-vhosts.conf的文件加上io

Options +Indexesmodule

DirectoryIndex index.php index.html配置

相關文章
相關標籤/搜索