PATH-like module?

2002-04-09 Thread Lyle Brooks

Is there a module that provides a PATH-like capability
for URLs?

The behavior I was looking for would do something like
this...

I request a URL  /images/background.gif

and then the web server (via this module or some other method) would
look for the background.gif file in a series of directories similar to
what the shell does to search your PATH for an executable.

So, if URLPATH was set to /opt/local/images:/net/images, then we'd
look for background.gif in each directory in turn. If not found in any of
them, only then would a 404 returned.

o Does such a module exist? 
o Is this available via some core directive?
o Is there a better way to do the same thing?

or is it just late at night and I'm missing something obvious.

Thanks






Re: PATH-like module?

2002-04-09 Thread Ged Haywood

Hi there,

On Tue, 9 Apr 2002, Lyle Brooks wrote:

 Is there a module that provides a PATH-like capability for URLs?

ViLib does this (and truckloads of things you didn't ask for:), sorry
I don't have a URI handy but you'll probably find it at utac.net or
with a search engine.  Failing that contact me privately and I'll mail
you a copy of the tarball.

73,
Ged.