Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th November 2005, 11:53
misterm misterm is offline
Senior Member
 
Join Date: Aug 2005
Posts: 557
Thanks: 20
Thanked 8 Times in 7 Posts
Question Premature end of script headers ? What is it ?

Hello with all

What it is, this error :

"Premature end of script headers"

Because I have prob with repertories cgi-bin of each site, pourrier you to say itself, as I must make there to correct this problem.

Yours sincerely

MM
Reply With Quote
Sponsored Links
  #2  
Old 8th November 2005, 12:31
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,411
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Have you saved your CGI scripts with unix linebreaks?
Reply With Quote
  #3  
Old 10th November 2005, 12:06
misterm misterm is offline
Senior Member
 
Join Date: Aug 2005
Posts: 557
Thanks: 20
Thanked 8 Times in 7 Posts
Question Can you explain me exactly

Hello

Can you explain me exactly, this sentence, because I nothing includes/understands, so that you says, because on the server that I have to create, one will launch lodgings, is that would be a pity which scripts cgi, does not function?

Well with you

MM
Reply With Quote
  #4  
Old 10th November 2005, 12:23
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,411
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
 
Default

Windows and unix have different linebreaks. In Linux the linebreak is "\n", in Windows the linebreak is "\r\n" if you express it in a notation used by comon programming languages. If you have edited a CGI script on a windows computer with e.g. notepad, you will have to convert the linebreaks to unix linebreaks when you upload the file with FTP or SCP to your server.
Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script questions && Gentoo version hagel Feature Requests 4 7th May 2006 13:19
Uninstalld Now Cant run older php script abselect Installation/Configuration 1 18th October 2005 09:23
DNS - call script to created named.conf entries on secondaries cstone Installation/Configuration 4 15th September 2005 01:16
Free server information script: vpsinfo domino Programming/Scripts 0 18th August 2005 02:28


All times are GMT +2. The time now is 20:01.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.