Re: Custom indexing with autoindex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

> On 1/25/07, Beginner <dermot@xxxxxxxxxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux