perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cosimo Streppone" <cos...@streppone.it>
Subject Re: What a strange error...
Date Tue, 29 Jun 2010 12:46:58 GMT
On Tue, 29 Jun 2010 14:37:38 +0200, Tosh Cooey <tosh@1200group.com> wrote:

> I have an application with a program called [mailfile.pl] which runs  
> under MP::Registry and is accessed via some mod_rewrites.
>
> Today I pushed a new version from my DEV server to the WWW server using  
> rsync.  Obviously it was working perfectly on DEV.
>
> However the new [mailfile.pl] died with an error on WWW:
>
> [error] (2)No such file or directory: exec of  
> '/srv/www/htdocs/b2b/mailfile.pl' failed
> [error] Premature end of script headers: mailfile.pl, referer:  
> http://www...

That reminds me:

1) chmod +x mailfile.pl
2) dos2unix mailfile.pl

-- 
Cosimo

Mime
View raw message