以上是我查到的资料,但是……

由 SeanMurphy 在 09-02-2003 21:34 发表:

以上是我查到的资料,但是……

以上是我查到的资料,但是……

我开了apache的http服务,

建立了虚拟目录test后

通过 http://localhost/test/

无法列出此文件夹的所有文件,

出现fobidden现象。

我在wiodows下配置过apache,有时可以看到,有时不行,不知道是什么原因,

我查便了httpd.conf的配置信息也找不到关于此文件列表权限设置的配置文件,只找到了类型文件显示的图标配置信息。

一直搞不懂怎么才能实现文件列表,请斑竹给予详细的解释说明,谢谢了!


由 dato 在 09-03-2003 00:07 发表:


Alias /test/ "i:/test/"

> quote: > > * * * > >

 1<directory "e:="" w3="" www"="">   
 2&gt;    
 3&gt;  #AddOutputFilterByType DEFLATE text/html text/plain text/php text/xml   
 4&gt;    
 5&gt;  #在全局mod_deflate配置下对e:/w3/www目录下只对HTML进行压缩   
 6&gt;    
 7&gt;    
 8&gt;    
 9&gt;  #   
10&gt;    
11&gt;  # Possible values for the Options directive are "None", "All",   
12&gt;    
13&gt;  # or any combination of:   
14&gt;    
15&gt;  # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews   
16&gt;    
17&gt;  #   
18&gt;    
19&gt;  # Note that "MultiViews" must be named *explicitly* --- "Options All"   
20&gt;    
21&gt;  # doesn't give it to you.   
22&gt;    
23&gt;  #   
24&gt;    
25&gt;  # The Options directive is both complicated and important. Please see   
26&gt;    
27&gt;  # http://httpd.apache.org/docs-2.0/mod/core.html#options   
28&gt;    
29&gt;  # for more information.   
30&gt;    
31&gt;  #   
32&gt;    
33&gt;  Options Indexes FollowSymLinks =====就是这里了,   
34&gt;    
35&gt;    
36&gt;    
37&gt;  #   
38&gt;    
39&gt;  # AllowOverride controls what directives may be placed in .htaccess files.   
40&gt;    
41&gt;  # It can be "All", "None", or any combination of the keywords:   
42&gt;    
43&gt;  # Options FileInfo AuthConfig Limit&lt;</directory>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus