httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Warhurst, SI (Spencer) " <>
Subject RE: [users@httpd] Directory listing
Date Thu, 19 Dec 2002 16:38:07 GMT
> -----Original Message-----
> From: Rodent of Unusual Size [mailto:Ken.Coar@Golux.Com]
> Sent: 19 December 2002 15:51
> To:
> Subject: Re: [users@httpd] Directory listing
> headername completely replaces the listing fronter, as you have
> seen.  it sounds as though perhaps you want to use this
> header elsewhere than a single directory.  if so, i suggest you
> get a little creative with a header.cgi script.  you can reproduce
> the path-to-this-directory from the envariables.

Yes, you're right.. basically, I have a directory structure of:


I want an autoindex listing in each of the subdirectories \a, \b, \c, etc.
At the moment, I've got a httpd.conf like this:

<Directory "e:/www/files">
    Options Indexes
    AllowOverride All
    HeaderName "../header.html"
    ReadmeName "../footer.html"
    IndexOptions DescriptionWidth=75 +SuppressHTMLPreamble

So, how would I replace "header.html" with a CGI to look the same but
include the path?



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message