You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Timothy Wood <di...@ovnet.com> on 1997/12/28 06:36:23 UTC

config/1603: I can't get perl scipts to execute without an internal server error.

>Number:         1603
>Category:       config
>Synopsis:       I can't get perl scipts to execute without an internal server error.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Dec 27 21:40:01 PST 1997
>Last-Modified:
>Originator:     diyab@ovnet.com
>Organization:
apache
>Release:        1.2.4
>Environment:
Slackware 3.2 linux kernel 2.0.29
gcc 2.7.2.1
i486, 28MB RAM
Perl v 5.003
>Description:
I can't seem to get any perl scripts to run propperly under apache.  I have run the scripts by themselves using perl and redirected the output to a HTML file which looks fine if I bring it up in netscape.  The CGI that came with the version of apache I compiled work fine, I even have the extra CGI and they work also.  I still just get a 500 though when I try to run any perl script.
>How-To-Repeat:
I'm not always online (usually am), and you have to hack URLs to get to the CGI, but here is how.  I keep a page with my latest address on it at http://www.ovnet.com/~diyab/server.html.  Now once you go there and click on the HTTP://ME!!! link you'll get a URL that looks like http://AM6-X.mountain.net/publicaccess/ where the X is any number from 1 to 49.  once you pull back this page from my system (if I'm online) replace the publicaccess/ part of the URL with /cpus.html. This will take you to a test page for my scripts.  Then just click on the Add to Cart button and you'll get the error.
>Fix:
I think it's either my config or permissions, but I doubt it's the permissions
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]