Custom Indexes on your webserver

• March 25, 2010

One thing I have a habit of doing is placing files in locations and leaving the index open, this in turn can be annoying and alsothe bottom portion always seems to expose alot of information about your webserver.

Introducing custom indexes

I will just put some simple things in here 2 lines make up custom indexes believe it or not:

HeaderName /header.html
ReadmeName /footer.html

# what files to ignore
IndexIgnore header.html footer.html

design html you want in the header.html and the footer.html

You can turn this the ole boring index page

to something like this 🙂

I am done for now I need to mess with my indexes a little

Share:

Written by

A short author bio goes here.

Digital Community Builder, Sleepy Coder, Weather & News Nerd

Connect with Me