Customising default index pages

  • 2 Replies
  • 2234 Views
*

Offline Comhon

  • 334
  • 23
    • View Profile
    • comhon.cz
Customising default index pages
« 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.

*

Offline Miss Paula

  • 953
  • 30
  • I demand more of these.
    • View Profile
Re: Customising default index pages
« Reply #1 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
Spoiler: (click to show/hide)
:hs::hs::hs::hs::fish::hs::hs::hs::hs:
:hs:

*

Offline LPChip

  • You can only truly help other people by allowing them to fail.
  • 3510
  • 138
  • Excel at the thing you're the best at!
    • View Profile
    • LPChip Interactive
Re: Customising default index pages
« Reply #2 on: November 25, 2010, 16:00:08 »
You're probably referring to customising the directory listing.

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.
« Last Edit: November 25, 2010, 16:04:28 by LPChip »
on the left, above my avatar.

MODPlug Central Forum
"If I tried to kill you, I'd end up with a big fat hole through my laptop." - Chironex