CGI suggestion

ts (decoux@moulon.inra.fr)
Fri, 31 Dec 93 15:53:25 +0100


> /*
> * CGI suggestion by ts (decoux@moulon.inra.fr)
> * written on Dec 28, 5:12pm.
> *
> * URL are :
> * http://server/cgi-perl/script/extra_path
> * http://server/cgi-csh/script/extra_path
> *
> * I can't have :
> * http://server/cgi-bin/perl/script/extra_path
> * http://server/cgi-bin/csh/script/extra_path
> *
> *
> */
>
> Why not? You should be able to create a perl subdirectory or a csh
> subdirectory in cgi-bin.
>

Actually I don't know exactly the syntax, Example :

With "srm.conf", like this :

____________________________________________________________
ScriptAlias /cgi-bin/ /usr/local/etc/httpd/cgi-bin
ScriptAlias /cgi-bin/perl/ /usr/local/etc/httpd/cgi-bin/perl
____________________________________________________________

URL : http://server/cgi-bin/perl/script/extra_path

Server call "/cgi-bin/perl" with extra_info "/script/extra_path"
or "/cgi-bin/perl/script" with extra_info "/extra_path" ?

Same question, with "srm.conf" like this :

____________________________________________________________
ScriptAlias /cgi-bin/perl/ /usr/local/etc/httpd/cgi-bin/perl
ScriptAlias /cgi-bin/ /usr/local/etc/httpd/cgi-bin
____________________________________________________________

Guy Decoux