[kw-pm] Frustrating problem (fwd)

abez abez at abez.ca
Mon Jun 19 07:57:58 PDT 2006


Did you change your docroot? Is it executable? Do you know what you've
set your docroot to?

What about using .htaccess:
Options +ExecCGI
AddHandler cgi-script .pl

-- 
abez ------------------------------------------
http://www.abez.ca/ Abram Hindle (abez at abez.ca)
------------------------------------------ abez

---------- Forwarded message ----------
Date: Sun, 18 Jun 2006 17:31:02 -0400
From: Marko Vidberg <marko at isfoundhere.com>
To: abez <abez at abez.ca>
Subject: Re: [kw-pm] Frustrating problem

Thanks, there it was in suexec.log, "command not in docroot".  So,
this is saying the cgi file is not in document root I assume?  The
httpd.conf is setup (as far as I can tell by looking at it) to run cgi
file within each virtual domains cgi-bin directory, which is where the
file currently is.  I copied it over to /var/www/cgi-bin as well, just
to see if it works.  Still giving the same error.  The thing I mostly
don't understand is how this was working so well for so long and then
suddenly just stopped.  Must have been an update to apache or
something that was recently done... probably just have something in
the httpd.conf configured wrong.  Either that or plesk (yes, they
insist on having a control panel) has done something stupid.. which
wouldn't be the first time I've seen a system running plesk mess
something up seemingly on its own.


On 6/18/06, abez <abez at abez.ca> wrote:
>
> Read your suexec.log it usually gives the reason.
>
> abram
>
> On Sun, 18 Jun 2006, Marko Vidberg wrote:
>
> > Hey there, I am having a bit of problem with a client that has a perl
> > script that has been running for a number of years with no problems.
> > Last week, it started just giving the following error:
> >
> > -----
> > Internal Server Error The server encountered an internal error or
> > misconfiguration and was unable to complete your request.
> >
> >  Please contact the server administrator to inform of the time the
> > error occurred and of anything you might have done that may have
> > caused the error. More information about this error may be available
> > in the server error log.
> > ----
> >
> > I've checked everything I know to check, the .cgi file permissions and
> > ownership and apache conf settings.  The error logs in /var/log say
> > nothing.  I've made sure the file is putting out "Content-type:
> > text/html\n\n" as the first thing.  The cgi DOES run fine from the
> > command line, just not via http.  The same thing happens with a simple
> > hello_world.cgi perl script.  I deal mostly with php myself and
> > haven't been to "into" perl for quite some time... can anybody give me
> > any advice?  Thanks.
> >
> > -marko
> > _______________________________________________
> > kw-pm mailing list
> > kw-pm at pm.org
> > http://mail.pm.org/mailman/listinfo/kw-pm
> >
>
> --
> abez ------------------------------------------
> http://www.abez.ca/ Abram Hindle (abez at abez.ca)
> ------------------------------------------ abez
>
>



More information about the kw-pm mailing list