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. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |