Apache doesn't throw 500 error when script is broken.

This is a discussion on Apache doesn't throw 500 error when script is broken. within the Apache Web Server forums, part of the Web Server and Related Forums category; I've installed Apache + Perl. Scripts that contain no errors run normally. But if there is an error in Perl-...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2007
svlad1983
 
Posts: n/a
Default Apache doesn't throw 500 error when script is broken.

I've installed Apache + Perl.

Scripts that contain no errors run normally.
But if there is an error in Perl-script, Apache instead of throwing 500
error offers to download the source code.

any ideas how to fix it?

thx in advance.

  #2 (permalink)  
Old 01-16-2007
HansH
 
Posts: n/a
Default Re: Apache doesn't throw 500 error when script is broken.

"svlad1983" <svlad1983@mail.ru> schreef in bericht
news:1168951333.665186.30320@38g2000cwa.googlegrou ps.com...
> I've installed Apache + Perl.
>
> Scripts that contain no errors run normally.
> But if there is an error in Perl-script, Apache instead of throwing 500
> error offers to download the source code.

Rather, dumping source IS the error, but not by Perl.

> any ideas how to fix it?

No cristal ball active today ...

Please quote OS and apache, both with version and repository.
Local path of documentroot
Local path of working script
Local path of failing script

HansH


  #3 (permalink)  
Old 01-16-2007
svlad1983
 
Posts: n/a
Default Re: Apache doesn't throw 500 error when script is broken.


HansH wrote:
> "svlad1983" <svlad1983@mail.ru> schreef in bericht
> news:1168951333.665186.30320@38g2000cwa.googlegrou ps.com...
> > I've installed Apache + Perl.
> >
> > Scripts that contain no errors run normally.
> > But if there is an error in Perl-script, Apache instead of throwing 500
> > error offers to download the source code.

> Rather, dumping source IS the error, but not by Perl.
>
> > any ideas how to fix it?

> No cristal ball active today ...
>
> Please quote OS and apache, both with version and repository.
> Local path of documentroot
> Local path of working script
> Local path of failing script
>
> HansH


OS: Linux 2.6.18
Apache/2.2.3

working and failed scripts are all in one folder. I just copied working
script and made a mistake in it, so the have identical rights and
stored here: /srv/www/cgi-bin/

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:21 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0