Announcement

Collapse
No announcement yet.

arhhh - help with webfusion vps setup.

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

    arhhh - help with webfusion vps setup.

    People,

    Been trying to actinic to work with my webfusion vps linux server.

    however the CGI-BIN keeps failing (keeps coming up with 404 error.

    I have searched the forum, but cant find anything that fixes my problem.

    The cgi-bin is not in the httpdocs folder

    My network settings;

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


    can anyone see a problem here ? desperate to get the scripts running now.

    Kes
    Reverse Osmosis Water Filters

    #2
    i dont use webfusions VPS but these are settings i have for a linux VPS solution

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

    Comment


      #3
      apart from some minor differences to passive mode this line has a . before the /cgi

      PATHTOCGIBIN ./cgi-bin/

      Comment


        #4
        Originally posted by Darren B View Post
        apart from some minor differences to passive mode this line has a . before the /cgi

        PATHTOCGIBIN ./cgi-bin/
        /cgi means use folder cgi which is a sub folder of root. ./cgi means use folder cgi as a sub folder from current level so if you are on root that would work but from acatalog you would be looking for acatalog/cgi which would not work. A .. means from parent folder.

        Malcolm

        SellerDeck Accredited Partner,
        SellerDeck 2016 Extensions, and
        Custom Packages

        Comment


          #5


          the cgi-bin is at root level, not in the httpdocs or in the acatalog folders;


          im getting this when test on 2 popups..


          Actinic is not able to run the CGI scripts on the server. It appears as if the scripts are not installed. The most likely cause is that you have an incorrect CGI-BIN URL. If you've never uploaded the site, then you should do it before a download of orders. If you've uploaded the site ever, then Run Web | Configure Web Site Details... to review your web site configuration.


          The web server returned error code 404 - Requested URL not found. This means Actinic can not execute the CGI scripts on your web site. Run Web | Configure Web Site Details... to check the web setup.
          Reverse Osmosis Water Filters

          Comment


            #6
            being that its above the web site at the server root level then your probably find this is why it does not work. It probably a security problem with running scripts at this level.

            Have you tried creating a cgi-bin at the website root and setting the permissions to 755 using the network settings you have.

            If you want to run at the server root then your need your master ftp account and the paths will be different aswell. I never use the master ftp account, for me this is a big security risk should these details be compromised.

            Comment


              #7
              Ive done this at website root to ftp.zoellerpumps.co.uk and set it to 755 but now the test is coming up as 404 error does not exist.

              but i can see it when loggin on through ftp



              really driving me mad now
              Reverse Osmosis Water Filters

              Comment


                #8
                have you changed your network settings to reflect this?

                Comment


                  #9
                  HTTPPROXYMODE 0
                  HTTPPROXYADDRESS
                  HTTPPROXYPORT 80
                  HTTPPROXYUSER
                  HTTPPROXYPASSWORD
                  FTPPROXYMODE 0
                  FTPPROXYADDRESS
                  FTPPROXYPORT 21
                  FTPPROXYUSER
                  FTPPROXYPASSWORD
                  SCRIPTID 1
                  SCRIPTEXT .pl
                  SMTPHOST localhost
                  WEBSITEURL
                  IGNOREPASSIVEERRORS true
                  USERELATIVECGIURLS false
                  PATHTOPERL /usr/bin/perl
                  USEENHANCEFTP true
                  FTPCLIENTTIMEOUT 15000
                  FTPRETRYDELAY 3000
                  FTPKEEPALIVEINTERVAL 30000
                  FTPSILENT false
                  FTPMAXRETRIES 3
                  FTPCONNECTTIMEOUT 25000
                  SMTPAUTHREQUIRED false
                  SMTPUSERNAME
                  SMTPPASSWORD
                  COMPRESSIONPACKETSIZE 1024
                  COMPRESSEDUPLOAD false
                  CATALOGURL
                  ONLINESTOREFOLDERNAME acatalog
                  CGIBINURL
                  PATHFROMCGITOCATALOG ../httpdocs/acatalog/
                  CODEBASE ./
                  FTPHOST
                  FTPUSERNAME *******
                  FTPPASSWORD *******
                  PATHTOCGIBIN ./cgi-bin/
                  USEPASSIVEFTP false
                  FTPPATHFROMCGITOCATALOG /httpdocs/acatalog/
                  Reverse Osmosis Water Filters

                  Comment


                    #10
                    just some info

                    i use my cgi-bin at the webserver root level, with the settings below. As i said this means you need an ftp account that has access to the server root level to work, i still feel this is a security risk but i have many things inplace to help prevent this being compromised. The cgi-bin is set to 755 for my setup

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

                    Comment


                      #11
                      Im not sure i need to get to the root.

                      I have VPS server and setup and zoellerpump domain on there along with emails etc.

                      so im uploading to ftp.zoellerpumps.co.uk
                      Reverse Osmosis Water Filters

                      Comment


                        #12
                        if your using a cgi-bin in the webroot (not server root) then your need to loose the httpdocs from the cgi-bin path

                        yours
                        PATHFROMCGITOCATALOG ../httpdocs/acatalog/
                        CODEBASE ./
                        FTPHOST ftp.zoellerpumps.co.uk
                        FTPUSERNAME *******
                        FTPPASSWORD *******
                        PATHTOCGIBIN ./cgi-bin/
                        probably should read
                        PATHFROMCGITOCATALOG ../acatalog/
                        CODEBASE ./
                        FTPHOST ftp.zoellerpumps.co.uk
                        FTPUSERNAME *******
                        FTPPASSWORD *******
                        PATHTOCGIBIN cgi-bin/
                        you may need to tweak this, its been a while since i got my head stuck in server settings. Have you used the wizard?

                        Comment


                          #13
                          also when you login with an ftp program do you see only the webroot? or can you seer all the higher levels including the cgi-bin placed above the httpsdocs

                          Comment


                            #14
                            tried about 50 differnt combinations now.

                            that one does not work either. and webfusion are usless !
                            Reverse Osmosis Water Filters

                            Comment


                              #15
                              see attached

                              I can see the cgi-bin when it first connects like you said, i see all them
                              Attached Files
                              Reverse Osmosis Water Filters

                              Comment

                              Working...
                              X