Announcement

Collapse
No announcement yet.

Webfusion Scripting error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Webfusion Scripting error

    I have just moved over to a Webfusion VPS and am having problems with the perl scripts.

    The error log shows "premature end of script headers"
    Permissions are set to cgi-bin 755 acatalog 777

    This is the configuration I am currently trying:

    HTTPPROXYMODE 2
    HTTPPROXYADDRESS counterp
    HTTPPROXYPORT 3128
    HTTPPROXYUSER
    HTTPPROXYPASSWORD
    FTPPROXYMODE 2
    FTPPROXYADDRESS counterp
    FTPPROXYPORT 21
    FTPPROXYUSER
    FTPPROXYPASSWORD
    SCRIPTID 1
    SCRIPTEXT .pl
    SMTPHOST localhost
    WEBSITEURL http://www.electrohill.co.uk/
    IGNOREPASSIVEERRORS true
    USERELATIVECGIURLS false
    PATHTOPERL usr/bin/perl
    USEENHANCEFTP true
    CATALOGURL http://www.electrohill.co.uk/acatalog/ (I've tried without the acatalog/ and also /httpdocs/acatalog/ and httpdocs/)
    CGIBINURL http://www.electrohill.co.uk/cgi-bin/
    PATHFROMCGITOCATALOG ../httpdocs/acatalog/
    CODEBASE ./
    FTPHOST 212.241.219.7
    FTPUSERNAME
    FTPPASSWORD
    PATHTOCGIBIN /cgi-bin/
    USEPASSIVEFTP false
    FTPPATHFROMCGITOCATALOG

    Any help would be greatly appreciated.

    #2
    Ok, I'm using a Webfusion VPS and below are my network settings:

    HTTPPROXYMODE 0
    HTTPPROXYADDRESS
    HTTPPROXYPORT 80
    HTTPPROXYUSER
    HTTPPROXYPASSWORD
    FTPPROXYMODE 0
    FTPPROXYADDRESS
    FTPPROXYPORT 21
    FTPPROXYUSER
    FTPPROXYPASSWORD
    SCRIPTID 1
    SCRIPTEXT .pl
    SMTPHOST localhost
    WEBSITEURL http://www.jansschoolwear.co.uk/
    IGNOREPASSIVEERRORS true
    USERELATIVECGIURLS false
    PATHTOPERL /usr/bin/perl
    USEENHANCEFTP true
    FTPCLIENTTIMEOUT 15000
    FTPRETRYDELAY 3000
    FTPSILENT false
    FTPMAXRETRIES 3
    FTPCONNECTTIMEOUT 25000
    SMTPAUTHREQUIRED false
    SMTPUSERNAME
    SMTPPASSWORD
    COMPRESSIONPACKETSIZE 1024
    COMPRESSEDUPLOAD false
    CATALOGURL http://www.jansschoolwear.co.uk/acatalog/
    ONLINESTOREFOLDERNAME acatalog
    CGIBINURL http://www.jansschoolwear.co.uk/cgi-bin/
    PATHFROMCGITOCATALOG ../httpdocs/acatalog/
    CODEBASE ./
    FTPHOST ftp.jansschoolwear.co.uk
    FTPUSERNAME
    FTPPASSWORD
    PATHTOCGIBIN /cgi-bin/
    USEPASSIVEFTP true
    FTPPATHFROMCGITOCATALOG /httpdocs/acatalog/

    Hope this helps

    EDIT
    Just realised this is a v7 thread so not sure if my v9 settings will help
    The Pretty Dress Company

    Comment


      #3
      Meden - you may want to remove your smtp password from the NS

      Comment


        #4
        thanks Jo - forgot that one
        The Pretty Dress Company

        Comment


          #5
          Thanks Meden,

          There are a lot more settings in the later versions. (I'm still on v6). I had a look last evening and strangely the scripts had started working.

          Comment

          Working...
          X