Nifflas' Support Forum

Being Creative => Creativity Support => Topic started by: Comhon on November 25, 2010, 14:56:58

Title: Customising default index pages
Post by: Comhon on November 25, 2010, 14:56:58
Is there any way how to customize default "index of/*" pages.
I dont know how to describe it: google "index of" and the first four pages are it.
Title: Re: Customising default index pages
Post by: Miss Paula on November 25, 2010, 15:50:20
with the very little knowledge I have, I'd suspect that people who want to make the index of page appear customized, need to write an index.html page? hm. better wait for someone's more qualified response. :P
Title: Re: Customising default index pages
Post by: LPChip on November 25, 2010, 16:00:08
You're probably referring to customising the directory listing (http://www.clockwatchers.com/htaccess_dir.html).

Basically what you want to do is write a .htaccess file which tells your webserver how the directory listing should look. Its not as powerful as writing a script that would be a replacement, but you can have stuff like a header on top with some formatting as well as turn on/off some features.

Just google for .htaccess and read about it.