On 25 Jan 2007 at 10:20, Joshua Slive wrote:

> On 1/25/07, Beginner <[EMAIL PROTECTED]> wrote:

> > However my efforts to make HeaderName a cgi-script are failing. Is
> > this because I would need to generate the entire index from CGI
> > rather than from mod_autoindex?
> 
> Did you read
> http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html#headername
> where it says:

Yes I did. I came up with this (and other variations)

<Directory /data/www/*/html>
        Options +Includes +Indexes
           IndexOptions FancyIndexing IgnoreCase SuppressHTMLPreamble
#          AddIcon /spl-icons/folder.png ^^DIRECTORY^^
        AddType text/html .pl
        HeaderName /scanning-cgi/idx_footer.pl
</Directory>


idx_footer.pl prints out it's header as 'text/html'. So I am not sure 
why it not working. The AddIcon option does work when enabled.

Thanx,
Dp.




---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to