httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barth \(John\) Jones" <musicbyba...@alltel.net>
Subject Re: [users@httpd] cgi--reply to Bao (open to anyone)
Date Sat, 05 Jun 2004 17:29:29 GMT
[Bao said, " have you tested setting the right perl path of your pc to your
CGI script?"]

That's what I'm trying to get at Bao.  Another user has said that I can
either change the path on my script to the actual path on my PC or else I
can change the SetInterpreterSource to "Registry" to automate it.  Sometimes
I choose to take the path of least resistance, and I chose to do thus far in
the present situation in order that my program will work on Unix platforms
as well as Windows platforms when it's finally online.  Does this make
sense?  Or is all this unnecessary?

Thanks
----- Original Message ----- 
From: "BAO RuiXian" <ruixian.bao@pp.inet.fi>
To: <users@httpd.apache.org>
Cc: "Robert Andersson" <robert@profundis.nu>
Sent: Saturday, June 05, 2004 11:42 AM
Subject: Re: [users@httpd] cgi


>
>
> Barth (John) Jones wrote:
>
> > In the Apache description for the directive, Script InterpreterSource
> >
[http://httpd.apache.org/docs-2.0/mod/core.html#scriptinterpretersource],
> > what is meant when they say,
> >
> > "The command defined by the registry subkey Shell\ExecCGI\Command or,
> > if it does not exist, by the subkey Shell\Open\Command is used to open
> > the script file. "?
> >
> > Also, what's the Windows Registry tree HKEY_CLASSES_ROOT?
>
>
> For the above two questions, please type the command regedit on your dos
> window.
>
> >
> > [snip]
> >
> > Finally, what does this mean (under the same description; my cgi-bin
> > is ScriptAliased):
> >
> > Be careful when using ScriptInterpreterSource Registry with
> > ScriptAlias
> > <http://httpd.apache.org/docs-2.0/mod/mod_alias.html#scriptalias>'ed
> > directories, because Apache will try to execute every file within this
> > directory.
> >
>
> It means all the files in your ScriptAliased directories will be
> executed by a program (usually it is Internet Explorer if you have not
> set a proper interpreter for the registry subkey Shell\ExecCGI\Command).
>
> BTW, have you tested setting the right perl path of your pc to your CGI
> script?
>
> Best
>
> Bao
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message