Forum Moderators: phranque

Message Too Old, No Replies

Autoindex Page Color/Background

         

kolkoo

2:00 pm on Mar 16, 2005 (gmt 0)

10+ Year Member



Can someone help me.
I have been trying to change apache's automatically generated Indexes' color but in vain.
I just cant understand how to do it.
And if there is a way to put a background image please tell me. If not i will be pleased just with the color change. 10x in advance
kolkoo

sitz

5:13 am on Mar 17, 2005 (gmt 0)

10+ Year Member



A google search on the following:

apache mod_autoindex background

Turned up the answer as the second (and third) results. Support Your Local Search Engine. =)

kolkoo

5:28 am on Mar 17, 2005 (gmt 0)

10+ Year Member



Yeah Thanks for Helping me but i figured it out myself except 4 the background thingie.
I use CSS to change the color and stuff but it doesn't want to set an image
I Use a Header File To Implement teh CSS And Here teh CSS is:

<style type="text/css">
body{
background-image:url("Images/backgr.jpg");
background-color : blue;
scrollbar-face-color : #000000;
scrollbar-arrow-color : black;
scrollbar-track-color : #000000;
scrollbar-shadow-color : #999999;
scrollbar-highlight-color : '';
scrollbar-3dlight-color : #CCCCCC;
scrollbar-darkshadow-Color : #666666;
# font-family : Arial, Helvetica, sans-serif;
font-size : 10px;
color: #DDDDDD;
text-decoration : none
}
a {
font-size: 13px;
color: FFFFFF;
text-decoration: none;
}
#a { font-family: Helvetica; font-size: 12px; color: DDDDDD; text-decoration: none}
#a:hover {text-decoration:underline;}
a:hover {color: red;}
a:visited {color: #888888;}
input.queryField {width:50;height:14pt;font:bold 10pt tahoma;color:#bbbbbb;background:#000000;border:1 dotted #aaaaaa;}
input.queryFieldM{width:66;height:14pt;font:bold 10pt tahoma;color:#bbbbbb;background:#000000;border:1 dotted #aaaaaa;}
input.queryFieldL{width:440;height:14pt;font:bold 10pt tahoma;color:#bbbbbb;background:#000000;border:1 dotted #aaaaaa;}
</style>

Well I guess There is No Way To place a background picture because i tried with <body background>
and it didn't work

kolkoo

8:23 am on Mar 17, 2005 (gmt 0)

10+ Year Member



Ok I Did It. I had the path to the image wrong because my header was in DocumentRoot.
And So I Pointed To Images/back.jpg
But when apache proccesses it it thinks that it is in the folder which it is indexing so it should be like this:
../Images/back.jpg

jdMorgan

4:52 pm on Mar 17, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



...or maybe /Images/back.jpg so that it's always a relative path from your Web root, no matter what directory is being displayed.

Jim