styling apache's interface

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
invisibled
Forum Contributor
Posts: 112
Joined: Sun Apr 29, 2007 3:35 pm
Location: New Westminster

styling apache's interface

Post by invisibled »

Hey everybody,

so i have apache setup on my localhost, and i want to style the file browser. You know like if you go to a directory it will say INDEX OF YOUR/DIR/ and list all the dirs and files and you can click on them right. Where is that code located. I tryed looking through the file structure and everything but still couldn't figure it out.


....obviously this is just for fun, so any suggestions are welcome! :)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I'm not aware of the ability to actually style it per se.
invisibled
Forum Contributor
Posts: 112
Joined: Sun Apr 29, 2007 3:35 pm
Location: New Westminster

Post by invisibled »

well like say i wanted to add a header image and do some basic css...

that html output has to come from somwhere doesn't it?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html is the module that controls it. You can specify a file to look for that will supply the headers and footer (Readme directive.) These are the only way that I know of the style it, however apache is simply reading a file.
invisibled
Forum Contributor
Posts: 112
Joined: Sun Apr 29, 2007 3:35 pm
Location: New Westminster

Post by invisibled »

thanks dude!

i'll go through this!
invisibled
Forum Contributor
Posts: 112
Joined: Sun Apr 29, 2007 3:35 pm
Location: New Westminster

Post by invisibled »

hmmm wierd, I'm doing everything to docs tell me to do, still doesn't change a thing. I even took the HeaderName right out of the config and it didn't change anything.
User avatar
Ollie Saunders
DevNet Master
Posts: 3179
Joined: Tue May 24, 2005 6:01 pm
Location: UK

Post by Ollie Saunders »

Restart the server?
invisibled
Forum Contributor
Posts: 112
Joined: Sun Apr 29, 2007 3:35 pm
Location: New Westminster

Post by invisibled »

yeah tryed that :(
Post Reply