Jump to content


Photo

Directory listings


  • Please log in to reply
2 replies to this topic

#1 Pezzy

Pezzy
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 22 October 2003 - 12:58 PM

Hey.
As I am sure I\'m not the only one who wants a feature like this I\'l write it here.

Would it be possible to write a new module or upgrade the existing module \'mod_autoindex\' so we could set it to use a specified file to generate directory listings. Instead of having either the default directory listing, or having to put the list file in all the folders.
Would this be possible?

Since I want my folder listings more pretty this is something I would really like to see as a upgrade for both Apache 1.3 and Apache 2.
Personaly I\'m still using 1.3

#2 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 22 October 2003 - 04:15 PM

it should be possible pez -- i am unsure how to start though.

have you tried turning on fancy indexing?
http://httpd.apache....ml#indexoptions

you could also write a php file to do this for you :D
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/

#3 Pezzy

Pezzy
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 22 October 2003 - 04:58 PM

Well.. using a php file is exactly what I want to do.. I just want to make Apache automaticly load a php file that does it for me if there is no index in the directory, so I don\'t have to add a php file that does it every time I create a new folder.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users