•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Linux Servers and Apache section within the Tech Talk category of DaniWeb, a massive community of 391,554 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,603 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Linux Servers and Apache advertiser:
Views: 2748 | Replies: 1
![]() |
•
•
Join Date: Jun 2006
Location: UK (Bristol)
Posts: 225
Reputation:
Rep Power: 3
Solved Threads: 1
Hello everyone. I decided to try out XAMPP ( http://www.apachefriends.org/en/xampp ), which contains a pre configured distribution of Apache 2.2.3. My intention is to use it for some local testing of a web application that uses Perl scripts. I got Apache running easily enough and it runs the sample Perl script that comes with it fine. However, when I ask it to run my script I get
The test script and mine both start with
The script is in the "htdocs" directory within the XAMPP directory. Can anyone think what might be going wrong here? Any help appriciated.
Steven.
The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers
The test script and mine both start with
#!"C:\Program Files\xampp\xampp\perl\bin\perl.exe" print "Content-type: text/html"
The script is in the "htdocs" directory within the XAMPP directory. Can anyone think what might be going wrong here? Any help appriciated.
Steven.
Last edited by Mushy-pea : Dec 23rd, 2006 at 8:30 am.
Hello, you're through to Steven on the BT Business technical help desk. Could I take your broadband telephone number please?
•
•
Join Date: Jan 2007
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
hi there, i had your problem, but found out the solution from this forum post: http://www.daniweb.com/techtalkforums/post293097-8.html
•
•
•
•
well, I found a good "first-thing" to do with test scripts is to change the .pl script first line to:(if that's where your activeperl is)... that stops you needing to extend the tiny Perl version that comes with XAMPP...#!"C:\ActivePerl\bin\perl.exe"
•
•
•
•
Hello everyone. I decided to try out XAMPP ( http://www.apachefriends.org/en/xampp ), which contains a pre configured distribution of Apache 2.2.3. My intention is to use it for some local testing of a web application that uses Perl scripts. I got Apache running easily enough and it runs the sample Perl script that comes with it fine. However, when I ask it to run my script I get
The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers
The test script and mine both start with
#!"C:\Program Files\xampp\xampp\perl\bin\perl.exe" print "Content-type: text/html"
The script is in the "htdocs" directory within the XAMPP directory. Can anyone think what might be going wrong here? Any help appriciated.
Steven.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Linux Servers and Apache Marketplace
•
•
•
•
apple beta browser cellphone computer crack debian dell development download enterprise gentoo gpl hardware ibm install internet kernel linux mac microsoft mobile network news novell office open open source operating os pirate red hat security server skype software source sun survey system testing ubuntu unix upgrade vista web windows windows update windows vista xp
- Apache (Linux Servers and Apache)
- testing php (PHP)
- This Should be Easy for You Guys! (Linux Servers and Apache)
- IE shuts down automatically- ever since I downloaded Windows Security Patch a month a (Web Browsers)
- Help needed for hijacker with homepage address location of C:\WINDOWS\secure.html (Viruses, Spyware and other Nasties)
- Microsoft Changes The Game Plan: Windows 2003 A True NOS? (Windows NT / 2000 / XP / 2003)
- Error message missing bridge.dll when starting windows (Viruses, Spyware and other Nasties)
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: Trouble with .htaccess & redirecting dynamic URLs
- Next Thread: mod_rewrite - RewriteRule help


Linear Mode