What I did for imagemaps at CERN was this; I had the ISMAP action URL
start with "/img" and then followed by a virtual path to the map file
itself, such as /foo/bar.map. Now, if my "document root" is in
/public/web I'd have a config file:
Map /img/* /cgi-bin/htimage/*
Exec /cgi-bin/* /usr/local/cgi-bin/*
Pass /* /public/web/*
The 1st one expands /img to the image handler script, 2nd one executes
it, and 3rd will translate the rest relative to document root. Use
this approach creatively and you'll cope. Note that once this is
correctly set up you don't need to edit the config file anymore.
> Well, then: how 'bout being able to specify something like
>
> /cgi-bin/myscript/./file-in-this-dir
>
> where `.' gets intrepreted relative to the invocation, rather than
> relative to the directory where the scripts live.
Same thing, /./ gets transformed into a single /
-- Cheers, Ari --