Apache Directives

by "Insurance Squared" <gcooke(at)insurancesquared.com>

 Date:  Wed, 18 Apr 2001 14:32:46 -0400
 To:  <hwg-servers(at)hwg.org>
  todo: View Thread, Original
Hi All,
I can't get my perl scripts to run on my test box running apache w/ linux.
I'm pretty sure that it's a problem
with my apache directives.

Symptoms:
-Stripped down perl script for testing purposes only (a few print
statements,
no file access)
-called from browser produces an internal server error.
-running the same script from my live webserver works OK.
-runs OK from command prompt.
-checked the path to perl, OK
-chmod 755
-other compiled (C or C++) cgi programs in subdirectory runs OK from
browser.
error log shows:
[Mon Apr 18 09:28:35 1994] [error] (2)No such file or directory: exec of
/home/www/glenn/cgi-bin/testmort.cgi failed

directives from httpd.conf:
<Directory "/home/www/glenn">
    AllowOverride All
    Options Indexes ExecCGI
    AddHandler cgi-script .cgi .pl
    Order allow,deny
    Allow from all
</Directory>

Adding:    ScriptAlias /cgi-bin/ "/home/www/glenn/cgi-bin/" had no effect.

I've been through two books plus the apache FAQ, plus tried a newsgroup, my
contract tech is unavailable right now, and I've got a trade show in a few
days (AAAAH!! :-)).  I'm pretty sure I've missed something in the
directives.  Any nudges in the right direction would be appreciated. (I'm on
digest, please cc me, thanks.)

TIA
Glenn
gcooke(at)insurancesquared.com

HWG: hwg-servers mailing list archives, maintained by Webmasters @ IWA