Bluehost.com Web Hosting $6.95

Perl, apache and exec

This is a discussion on Perl, apache and exec within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hello folks, I'm testing some simple perl-driven homepages on my Windows 98 home system, using the Apache server. ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-17-2003
Big Mike
 
Posts: n/a
Default Perl, apache and exec

Hello folks,

I'm testing some simple perl-driven homepages on my Windows 98 home
system, using the Apache server. One of my scripts include the line:

exec "loadPart1.cgi";

Unfortunately this script never gets loaded or executed, I get the
error message (in the Apache error.log)

[Fri Oct 17 20:32:46 2003] [error] [client xx.xxx.xx.xxx] Premature
end of scrip
t headers: xxx/xxx/xxx/xxx/login.cgi

The odd part is that the address localhost/cgi-bin/loadPart1.cgi works
just fine, the script gets executed and delivers the proper HTML-code,
displayed as a proper www-page in my browser.

I'm sort of stuck with this problem, so any advice would be more than
welcome. Thank you very much in advance.

Cheers,


Zup
  #2 (permalink)  
Old 10-20-2003
Big Mike
 
Posts: n/a
Default Re: Perl, apache and exec

Hi again,

Everything OK now, the command

exec "perl loadPart1.cgi";

did the trick.

Thanks for all the helpful replies ;)

Cheerz,

Zup

zupidupi@yahoo.com (Big Mike) wrote in message news:<862d9fd1.0310170959.3664837@posting.google.c om>...
> Hello folks,
>
> I'm testing some simple perl-driven homepages on my Windows 98 home
> system, using the Apache server. One of my scripts include the line:
>
> exec "loadPart1.cgi";
>
> Unfortunately this script never gets loaded or executed, I get the
> error message (in the Apache error.log)
>
> [Fri Oct 17 20:32:46 2003] [error] [client xx.xxx.xx.xxx] Premature
> end of scrip
> t headers: xxx/xxx/xxx/xxx/login.cgi
>
> The odd part is that the address localhost/cgi-bin/loadPart1.cgi works
> just fine, the script gets executed and delivers the proper HTML-code,
> displayed as a proper www-page in my browser.
>
> I'm sort of stuck with this problem, so any advice would be more than
> welcome. Thank you very much in advance.
>
> Cheers,
>
>
> Zup

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB 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 03:28 AM.


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