Forum Moderators: phranque

Message Too Old, No Replies

default background colour of apache index pages

Can I change it?

         

Jazeker

10:07 am on Nov 23, 2004 (gmt 0)

10+ Year Member



I am running in Apache 1.3.33 in auto_index mode. I have some users on unix and their browsers do not have a standard white background like most browsers on windows have. I was wondering whether the auto indexed pages of Apache can be set to have a white background iso. transparant.

I tried by specifying an alternative header file (like the apache docs told me), but then I loose the 'Index of /.../.../.../' title which I still need.

Anyone knows a trick to do what I want?

Thanks for hinting me on this one.

coopster

4:54 pm on Nov 23, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



You bet.

Go with the HeaderName [httpd.apache.org] solution and in your

header.htm
file drop in an Apache SSI to echo the directory from the standard server variable:
<h1>Index of <!--#echo var="REQUEST_URI" --></h1>

Jazeker

6:57 pm on Nov 23, 2004 (gmt 0)

10+ Year Member



I will try this immediately tomorrow morning. If this the trick I owe you a drink :-D

thx!

Jazeker

10:53 am on Nov 24, 2004 (gmt 0)

10+ Year Member



O yes! This does the trick. Thank you very much.

For people reading this : also check out [httpd.apache.org...] which tells you how to make sure that Apache will really parse your header file for SSI's.