[thelist] custom directory index, aliases

Sam-I-Am sam at sam-i-am.com
Fri Sep 7 17:13:10 CDT 2001

wondering if anyone understood the question? 

I found Randal Schwartz's script but that too assumed the current
directory is under the web root.

Well I currently only have 2 aliased directories so it wouldn't hurt too
much to maintain seperate scripts for each, with the path hard-coded,
but I'd love to know another way. 


Sam-I-Am wrote:
> But does anyone know how I'd deal with Aliases? By looking at the usual
> environment variables I can concatenate the document root and the
> request uri, but in the case of aliased directories, this doesn't give
> me the correct path to the requested directory.
> Is there another way? Has anyone done anyting similar?
> (is there any way to build on apaches own directory index handler? I
> don't really want to rewrite the sorting and basic listing bits, I'm
> just looking to add a little more info to the listing, like titles if
> its an html page etc..)

More information about the thelist mailing list