`
huahua09
  • 浏览: 45813 次
  • 性别: Icon_minigender_2
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

DirectoryIndex

阅读更多
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>

当http请求路径不是具体文件名称,而是/结尾的时候,默认访问DirectoryIndex指定的文件。
分享到:
评论

相关推荐

    apache报Cannot serve directory No matching DirectoryIndex (index.html) found的解决办法

    apache报Cannot serve directory No matching DirectoryIndex (index.html) found的解决办法 localhost无法访问的可能原因

    DirectoryIndex:目录索引-最简单PHP目录索引

    目录索引-最简单PHP目录索引 由[Chansig]( )创建 介绍 ... 特征 极其简单的安装 创建任何可通过网络访问的目录的动态列表 文件/文件夹的可排序顺序 轻松定义要从列表中排除的隐藏文件或文件类型 ...

    bugfree部署文档

    3) 找到:DirectoryIndex index.html 修改为:DirectoryIndex index.php index.html 4) 找到:AddType application/x-gzip .gz .tgz 添加这两行: AddType application/x-httpd-php .php(.前有空格) AddType ...

    在线客服源码客户端php源码

    【★★★ apache配置: ★★★】 运行 apache_1_3_12_win32.exe ,按照提示安装,安装目录不妨为:  c:apache 2. 修改 c:apachehttpd....DirectoryIndex index.html index.php index.php3 index.htm index.shtml

    在线客服源码PHP源码

    【★★★ apache配置: ★★★】 运行 apache_1_3_12_win32.exe ,按照提示安装,安装目录不妨为:  c:apache 2. 修改 c:apachehttpd....DirectoryIndex index.html index.php index.php3 index.htm index.shtml

    【x64】ApacheService-2.4.37-vc14

    第271行DirectoryIndex index.html改为DirectoryIndex index.html index.php index.htm //支持更多的默认页 第354行 ScriptAlias /cgi-bin/ "c:/Apache24/cgi-bin/"改为ScriptAlias /cgi-bin/ "D:/Apache24/cgi-...

    基于php的在线考试系统(源码+数据库+安装文档).zip

    DirectoryIndex index.php RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1] 将上述代码复制进去,确认保存 3.配置...

    ZendFramework 2 实例(增、删、改操作)

    ZendFramework 2 实例(增、删、改操作) 环境 php 5.3.5+ 设置环境变量 path apache 2.2 httpd.conf ... DirectoryIndex index.php AllowOverride All Order allow,deny Allow from all &lt;/VirtualHost&gt;

    ZendFramework 2.1.3 实例(相册增、删、改操作)

    ZendFramework 2.1.3 实例(增、删、改操作) 环境 php 5.3.5+ 设置环境变量 path apache 2.2 httpd.conf ...DirectoryIndex index.php AllowOverride All Order allow,deny Allow from all &lt;/VirtualHost&gt;

    apache openssl配置快速的https网站

    启动WEB服务 apachectl start 关闭WEB服务 apachectl stop 启用VHosts ...授予目录权限 注释&lt;Directory /&gt; Deny from all 或者增加Directory授权 ...&lt;IfModule dir_module&gt;DirectoryIndex index.html index.shtml….

    iASP2·1·01服务器工具

    DirectoryIndex index.asp 更改完毕后,保存,重启apache 8 执行:开始-&gt;程序-&gt;Instant ASP 2.1.01-&gt;Install iASP as NT Service 这样,iasp就被加到了win2000 server的服务中。 执行:开始-&gt;程序-&gt;Instant ASP...

    Apache+多个Tomcat 服务器集群配置

    1、Apache配置 1.1、httpd.conf配置 修改APACHE的配置文件D:\Apache\conf\httpd.conf 将以下Module的注释去掉,这里并没有使用mod_jk.so进行apache和tomcat的链接,...DirectoryIndex index.html index.jsp &lt;/IfModule&gt;

    iasp2.1让APACHE支持ASP

    IaspConfig rules "C:/IASP2101/properties/rules.properties" 7 通过更改httpd.conf更改apache的默认首页: DirectoryIndex index.htm   DirectoryIndex index.php   DirectoryIndex index.asp 更改完毕后,...

    计算机网络教程书

    它们包括 AddDescription AddIcon AddIconByEncoding AddIconByType DefaultIcon DirectoryIndex FancyIndexing HeaderName IndexIgnore IndexOptions ReadmeName 4 Limit 允许使用权限控制指令。它们包括Allow ...

    zabbix安装配置文档

    ...Make make test make install ...vim /usr/local/apache2/conf/httpd.conf ...98 rverName 127.0.0.1:80 ...168 DirectoryIndex index.php index.html 311 AddType application/x-httpd-php .php 重启apache 访问apache

    嵌入式web服务器boa_C语言/Python + HTML + javascript + ajax 代码实例例子

    DirectoryIndex: 默认返回的html文档; ScriptAlias:cgi脚本虚拟路径对应的实际路径,/www/cgi-bin/为cgi脚本存放的实际路径; 其他配置选项的意义请参考相关资料。 复制boa可执行文件到/usr/sbin目录中, 启动boa...

    AIX基本环境搭建.doc

    DirectoryIndex 中添加index.htm index.jsp default.htm default.html Group nobody 必须要改,否则apache不能启动 #cd /usr/local/apache/bin #./apachectl start 编辑apache配置文件httpd.conf 找到LoadModule ...

    apahce2.2.4整合tomcat6.0.016

    DirectoryIndex index.html index.htm index.php index.jsp Options -Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all tomcat config love为本地域名 tomcat6/conf/server....

    Windows下Apache2.2.21及Php5.3.8的安装与配置方法及安装包

    Apache的安装与配置 ...一般情况下,我们下载no_...2)、查找“DirectoryIndex”,这里是默认首页文件名,可以在index.html 的后面加入index.php等。每种类型之间都要留一个空格。 3)、查找 ...........................

    php配置+mysqlAdmin配置+apache配置的实现教程

    DirectoryIndex(目录索引,也就是在仅指定目录的情况下,默认显示的文件名)可以添加很多,系统会根据从左至右的顺序来优先显示, 以单个半角空格隔开。例如: ( &lt;IfModule dir_module&gt;...

Global site tag (gtag.js) - Google Analytics