[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



when I call perl programs thru Apache, web server
returns  "Internal Server Error" error.

server log shows the following:
(8)Exec format error: exec of
'/var/www/etools/chocolate/html/perltest.pl' failed
Premature end of script headers: perltest.pl

script runs fine from command line, eg 'perl
perltest.pl'

apache has the following modules compiled in:
  core.c
  mod_access.c
  mod_auth.c
  mod_include.c
  mod_log_config.c
  mod_env.c
  mod_setenvif.c
  mod_proxy.c
  proxy_connect.c
  proxy_ftp.c
  proxy_http.c
  mod_ssl.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_cgi.c
  mod_negotiation.c
  mod_dir.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_rewrite.c
  mod_so.c

perl/apache works fine with the redhat/rpm apache
version 2.0.46

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
<a  rel="nofollow" href="http://mail.yahoo.com";>http://mail.yahoo.com</a> 


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00460" href="msg00460.html">[ale] problems running perl scripts thru apache 2.0.52</a></strong>
<ul><li><em>From:</em> jkinney at localnetsolutions.com (James P. Kinney III)</li></ul></li>
<li><strong><a name="00483" href="msg00483.html">[ale] problems running perl scripts thru apache 2.0.52</a></strong>
<ul><li><em>From:</em> fletch at phydeaux.org (Fletch)</li></ul></li>
<li><strong><a name="00541" href="msg00541.html">[ale] problems running perl scripts thru apache 2.0.52</a></strong>
<ul><li><em>From:</em> bob at verysecurelinux.com (Bob Toxen)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00457.html">[ale] Silly Window Manager Trick: How can I export a	control-panel widg et to start apps from a remote X-server?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00459.html">[ale] MTU's and DSL's</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00496.html">[ale] Silly Window Manager Trick: How can I export a	control-panel widg et to start apps from a remote X-server?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00460.html">[ale] problems running perl scripts thru apache 2.0.52</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00458"><strong>Date</strong></a></li>
<li><a href="threads.html#00458"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>