Announcement

Collapse
No announcement yet.

Accepting POSTs to CGI scripts

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

    Accepting POSTs to CGI scripts

    Hi, can anyone help. I am going round in circles......

    My site has been up and running for a while but now I need to enable SSL on the checkout page in order to use a new PSP.

    I have enabled this in the business settings and have set up the following network settings:

    HTTPPROXYMODE 0
    HTTPPROXYADDRESS
    HTTPPROXYPORT 80
    HTTPPROXYUSER
    HTTPPROXYPASSWORD
    FTPPROXYMODE 0
    FTPPROXYADDRESS
    FTPPROXYPORT 21
    FTPPROXYUSER
    FTPPROXYPASSWORD
    SCRIPTID 1
    SCRIPTEXT .pl
    SMTPHOST smtp host
    WEBSITEURL http://www.mysite.co.uk/
    IGNOREPASSIVEERRORS true
    USERELATIVECGIURLS false
    PATHTOPERL /usr/bin/perl
    USEENHANCEFTP false
    FTPCLIENTTIMEOUT 15000
    FTPRETRYDELAY 3000
    FTPSILENT false
    FTPMAXRETRIES 3
    FTPCONNECTTIMEOUT 25000
    SMTPAUTHREQUIRED false
    SMTPUSERNAME *****
    SMTPPASSWORD *****
    SSLCATALOGURL https://clarahost.clara.net/www.mysite.co.uk/acatalog/
    SSLCGIBINURL https://clarahost.clara.net/www.mysite.co.uk/cgi-bin/
    SSLPATHFROMCGITOCATALOG ../acatalog/
    SSLCODEBASE ./
    SSLFTPHOST ftp host
    SSLFTPUSERNAME *****
    SSLFTPPASSWORD *****
    SSLPATHTOCGIBIN /public/www/cgi-bin/
    SSLUSEPASSIVEFTP true
    CATALOGURL http://www.mysite.co.uk/acatalog/
    CGIBINURL http://www.mysite.co.uk/cgi-bin/
    PATHFROMCGITOCATALOG ../acatalog/
    CODEBASE ./
    FTPHOST ftp host
    FTPUSERNAME *****
    FTPPASSWORD *****
    PATHTOCGIBIN /public/www/cgi-bin/
    USEPASSIVEFTP true
    FTPPATHFROMCGITOCATALOG /public/www/acatalog/

    I have also checked the permissions on cgi-bin and acatalog and these are set to 755 & 777 respectively.

    When I test this I get the following messages, has anyone got ant clues ?

    From Actinic: Actinic received a bad method error from the web server. The
    server is not properly configured to allow Actinic to run CGI scripts from
    the cgi-bin.

    From the Browser:
    Method Not Allowed
    The requested method POST is not allowed for the URL
    /www.mysite.co.uk/cgi-bin/cp000001.pl.
    Apache/1.3.33 Server at clarahost.clara.net Port 443

    From Actinic: The web server returned error code 405 - Server does not
    support the requested method. Your web server is not configured to accept
    POSTs to CGI scripts. Contact your ISP or system administrator and have
    them reconfigure the server.

    Any help would be greatly appreciated.

    Sarah

    #2
    Hi Sarah,

    my clara settings which work fine can be found at http://community.actinic.com/showthread.php?t=13759


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      Get Clara to check that your CGI uploads are enabled for ASCII, as default on some systems is BINARY.

      Bob
      Supporting the environment. This post uses 100% recycled electrons.
      Bob Isaac
      Director/Web Admin
      Volvo Owners Club Ltd

      Actinic MS Business Version 8.5.2

      Comment


        #4
        Fixed

        Thanks for your help. The file values that work for Jont did the trick and SSL is now working. Now I've got to get the PSP bit working Its never easy.
        Sarah

        Comment

        Working...
        X