AW: Apache mod_dir

"Max Helmet" <[email protected]> Mon, 22 Aug 2005 10:53:51 +0200
Newsgroups gmane.network.tux
Message-ID <[email protected]>
> Is there something equivalent to Apache's mod_dir module for TUX ?

TUX acts just like Apache with
DirectoryIndex index.html
DirectorySlash On

Unlike Apache, you can only have one type of index file with TUX. If you
aren't comfortable with "index.html", you'll have to alter the kernel
sources and rebuild your kernel. Just locate #define INDEX "/index.html" in
/[path to kernel sources]/net/tux/proto_http.c and change it to
"/index.htm", "/index.txt", "/default.htm" or whatever you prefer.

Regards,
Max