Re: the scripts under mod_perl are running as mod_cgi

[prev] [thread] [next] [Date index for 2004/12/02]

From: Stas Bekman
Subject: Re: the scripts under mod_perl are running as mod_cgi
Date: 05:09 on 02 Dec 2004
SHAHNAWAZ OSMAN wrote:
> Hi Stas,
> 
> 
> Thank you for your speedy response. Now, when I try to
> run the script 
> (http://www.mydoamin.com/perl/test.pl) I get a "404 -
> file not found page" 
> and get the following message in the error log.
> 
> 	"/usr/local/httpd_perl/cgi-bin/test.pl not found or
> unable to stat"
> 	
> I was getting this message until I changed the proxy
> setting and added another 
> line (ScriptAlias /cgi-bin/
> /home/user-name/public_html/cgi-bin/) in my backend 
> server configuration file.

Then your configuration on the backend is wrong. Do you have symlinks or 
something that redirects /home/user-name/public_html/cgi-bin/ to 
/usr/local/httpd_perl/cgi-bin/.

The simplest way to debug the backend is to access it directly first i.e. 
yourbackendserver:8000/perl/... make it working and only then move on to 
the front end config.

p.s. please truncate the parts you don't reply to. No point leaving long 
useless tails.

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

the scripts under mod_perl are running as mod_cgi
SHAHNAWAZ OSMAN 11:16 on 01 Dec 2004

Re: the scripts under mod_perl are running as mod_cgi
SHAHNAWAZ OSMAN 04:29 on 02 Dec 2004

Re: the scripts under mod_perl are running as mod_cgi
Stas Bekman 05:09 on 02 Dec 2004

Re: the scripts under mod_perl are running as mod_cgi
INFOQUEST USA INC. 08:26 on 02 Dec 2004

Re: the scripts under mod_perl are running as mod_cgi
SHAHNAWAZ OSMAN 07:02 on 03 Dec 2004

Re: the scripts under mod_perl are running as mod_cgi
INFOQUEST USA INC 23:38 on 03 Dec 2004

Re: the scripts under mod_perl are running as mod_cgi
INFOQUEST USA INC 00:03 on 04 Dec 2004

Re: the scripts under mod_perl are running as mod_cgi
SHAHNAWAZ OSMAN 06:54 on 03 Dec 2004

Generated at 11:27 on 21 Dec 2004 by mariachi v0.52