ChinaUnix.net
相关文章推荐:

apache 显示目录



1、在http.conf中加入如下代码(如有虚拟主机配置,加在虚拟主机配置段内),并把主目录内的index.pho,index.html,index.htm文件删除

Alias /download "/download"
  <Directory "/download">

by zhengsenlin888 - Web开发 - 2011-12-19 14:02:53 阅读(833) 回复(0)

相关讨论

apache中我只想显示download这个目录索引,而其他目录不显示改怎么做啊

by hxj277 - 服务器应用 - 2005-05-07 15:52:30 阅读(958) 回复(1)

帮助文档里说:Indexes 如果要求映射到目录的 URL 和在该目录里没有 DirectoryIndex(例如,index.html),那么服务器将返回格式化的目录列表。 默认是返回列表的,这使得服务器上的文件很不安全。 请问: 如何设置httpd.conf,才能使实现禁止显示列表,出现无权浏览页面 我用的是apacheapache 2.0.58 根目录是d:\...\www

by threelions - 服务器应用 - 2006-07-27 23:55:30 阅读(5155) 回复(6)

我安装的apache2.0.47版本,好像默认安装后,如果该目录中没有index.html页,就会将目录中的内容显示出来,怎样才能关闭这个功能呢? [ 本帖最后由 HonestQiao 于 2005-12-18 00:58 编辑 ]

by bxz1207 - 服务器应用 - 2005-12-18 00:57:52 阅读(2366) 回复(1)

apache中我只想显示download这个目录索引,而其他目录不显示改怎么做啊

by hxj277 - 服务器应用 - 2005-05-07 15:27:00 阅读(1199) 回复(2)

在arm开发板上安装了一个apache+php,不能使用,现象如下: 1.不加载libphp5.so的时候可以正常使用, 2.加载libphp5.so的时候,可以显示主目录下的内容,但是显示不了文件, 如图: 点击a.html的时候就 有人知道这是怎么回事吗????? httpd.conf:[code]ServerRoot "/usr/apache" PidFile "/var/log/apache/apache.pid" LockFile "/var/log/apache/apache.lock" Listen 80

by bijianing - 服务器应用 - 2011-11-13 14:20:34 阅读(2037) 回复(0)

如果列表中的文件长度不一 ,属性中的 last modified 和 file size 就不不能对齐显示。。 会根据文件名的长度 错位 ,非常难看。 我想不管last modified 和 file size 显示的值是对齐的,如何设置了。 我的httpd.conf 文件 Options Indexes FollowSymlinks IndexOptions FancyIndexing ScanHTMLTitles NameWidth=40 DescriptionWidth=128 IconHeight=16 IconWidth=16 VersionSort Folders...

by luoxianqiao - 服务器应用 - 2009-09-21 18:58:46 阅读(2109) 回复(3)

系统提示: Error: Unexpected output from cvs co: cvs [checkout aborted]: Absolute module reference invalid: `/project1/pbad.qweSys' Check whether the directory /home/cvsroot/CVSROOT exists and the script has write-access to the CVSROOT/history file if it exists. The script needs to place lock files in the directory the file is in as well.

by wang1385 - 服务器应用 - 2004-02-13 09:44:26 阅读(2168) 回复(3)

apache 2 如何设置能显示目录和文件列表??

by cn_ran - 服务器应用 - 2003-11-05 08:48:11 阅读(1007) 回复(1)

apache配置mod_status 要启用 server-status 必须首先加载 server-status 模块,你可以用以下命令查看是否已经加载了模块: /usr/local/apache/bin/httpd -l | grep mod_status.c 如果没有安装这个模块,那么就需要您重新编译这个模块了,进入 apache 的源码目录: cd /usr/local/src/httpd-2.2.14/modules/generators /usr/local/apache/bin/apxs -cia mod_status.c 这样模块就编译好了。查看一下 apache 的配置文件...

by osapub - OSA开源监控 - 2013-05-16 16:29:06 阅读(925) 回复(0)

测试时加上“~”是什么意思呢?

by lee韧韧 - Linux环境编程 - 2012-04-25 16:56:14 阅读(2005) 回复(3)