You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by br...@michiganlivestock.com on 2004/04/02 04:28:51 UTC

[users@httpd] custom autoindexs

I have custom autoindexes working that is on one page.  how can i change
the defualt HEADER and README for all indexs made by the server to use
these files in place

/var/www/localhost/index_headers/REDME.shtml
/var/www/localhost/index_headers/HEADER.shtml

i have to copy them right now to every directory,  i have made it so they
dont apear with the IndexIgnore option so they dotn get listed but i dont
wana have to manulay copy them to eveyr dir,  I want user dir to
automaticly use the custom ones any way anyone has done this?  Thx
---------------------------------------------
For free email or hosting solutions look to http://www.michiganlivestock.com/mlds

---------------------------------------------------------------------
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


Re: [users@httpd] custom autoindexs

Posted by Joshua Slive <jo...@slive.ca>.
On Thu, 1 Apr 2004 brockp@michiganlivestock.com wrote:

> I have custom autoindexes working that is on one page.  how can i change
> the defualt HEADER and README for all indexs made by the server to use
> these files in place
>
> /var/www/localhost/index_headers/REDME.shtml
> /var/www/localhost/index_headers/HEADER.shtml

Assuming your DocumentRoot is /var/www/localhost, then use
ReadmeName /index_headers/README.shtml
HeaderName /index_headers/HEADER.shtml
Note that paths are relative to the web root when they start with a slash.

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