Forum Moderators: phranque

Message Too Old, No Replies

header.html - where does it go?

Change the style of the default directory index

         

paullacey78

4:13 pm on Apr 27, 2006 (gmt 0)

10+ Year Member



I am a real newbie to apache and I want to change the style of the default index page output (add a bit of CSS to make it look a bit nicer etc).

So I have created a file called HEADER.html but I have no idea where to put it to make it work...

Any ideas, clues would be greatly appreciated...

thanks in advance

Paul Lacey

jdMorgan

4:34 pm on Apr 27, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Paul,

Wlecome to WebmasterWorld!

The first place to look is the the source: [httpd.apache.org...]

Jim

paullacey78

5:13 pm on Apr 27, 2006 (gmt 0)

10+ Year Member



Thanks Jim,

that looks like it will solve my other problem of the page outputting header & html tags twice...

Do you know how I can make this apply to every directory? I only seem to be able to apply custom styles to the default index manually folder by folder

Thanks in advance

Paul

jdMorgan

5:44 pm on Apr 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I almost never use directory indexes so I'm not sure, but I don't think the HeaderName setting is "inheritable."

Jim

paullacey78

12:11 pm on May 2, 2006 (gmt 0)

10+ Year Member



THanks to all who helped...

in the end I got it sorted after finding this particlular web link: [corz.org...]

So basically it was using .htaccess file to override the settings in the httpd.conf file....fow anyone that is interested lol

thanks again

Paul