httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] mod_autoindex
Date Fri, 05 Oct 2007 15:42:04 GMT
On 10/5/07, Hermidio A. Rodriguez Chavez <hermidio@ipiscpt.rimed.cu> wrote:
> Joshua Slive wrote:

> > What EXACTLY did you use for your HeaderName/ReadmeName configuration?
> > Do you understand the difference between the config with a leading
> > slash (where the Header/Readme is always taken from the same place)
> > and without a leading slash (where it is taken relative to the served
> > directory)? What is in the error log?

> friend, that directives work fine at the first directory(document root)
> but when i access another directory appear to not work under subfolders
>
> heres and example:
>
> <VirtualHost *:80>
> ServerName index.ipiscpt.rimed.cu
> DocumentRoot /home/index
> <Directory /home/index>
> #FancyIndexing on
> #AddDescription "One of our wonderful catalogs" catalog_summer.html
> #    catalog autumn.html
> IndexIgnore *.jpg
> IndexIgnore  ..
> IndexIgnore  icons HEADER.htm README.htm
> HeaderName HEADER.htm
> ReadMeName README.htm
> #IndexOptions ShowForbidden
> </Directory>
> </VirtualHost>
>
> when o try index.ipiscpt.rimed.cu HEADER.htm and README.htm work fine,
> then i have another directory in /home/index/ named
> test(/home/index/text) when i access it i can't see the HEADER & README.
>
> i think you can undestand my questions

You only answered one of my three questions. So I'll repeat the other two:

1. Is there a HEADER.htm and README.htm in EVERY directory that you
are showing (not just the root)?

2. Does the error_log say anything interesting?

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message