We have to move a site from apache environment to a new location that
runs Netscape Enterprise 2.01. The setup they have is all cgi-bin's in
/cgi-bin dir and also they don't know much what NscpEnt can/can't do. To
match their requirements I'd like to make sure if Ent 2.01 can do an
equivalent of Apache's mod_rewrite's:
RewriteRule ^/path/to/file$ /cgi-bin/foo.cgi
which means the browser still thinks it's getting content from
/path/to/file while it's actually getting a result from a cgi..Otherwise
i'll be having problems with relative links we're using..
Another thing is also if it (Ent 2.01) can run cgi's outside the
/cgi-bin dir (the guys there said it can't) and how to set up this..[*1]
If you can, can you run a cgi named foo.html as a cgi or is the
.extension the main match to determine what to do? [*2]
(In other words, can it do:
[*1]
ScriptAlias /some/where/else/ /httpd/htdocs/some/where/else/
[*2]
<Location /path/to/foo.html>
SetHandler cgi-script
</Location>
)
Thanx for any help and if you could give me brief directives on
configuring that as I can't rely on the owners of this servers to know
how this is done..
Jure
--
Jure Simsic