Announcement

Collapse
No announcement yet.

The CGI scripts are not executing properly on the server.

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

    The CGI scripts are not executing properly on the server.

    i have just moved to a new server, but when i run the test to check my settings i always get:

    The CGI scripts are not executing properly on the server .... etc

    but when i run the wizard to get the new settings it always fails on the perl path page, but the path to perl in there is correct, it has been checked and double checked with my server techs ?

    I have manually changed the rest of the settings in the set-up but no matter what i do it will not accept the path to perl ?

    HTTPPROXYMODE 0
    HTTPPROXYADDRESS
    HTTPPROXYPORT 80
    HTTPPROXYUSER
    HTTPPROXYPASSWORD
    FTPPROXYMODE 0
    FTPPROXYADDRESS
    FTPPROXYPORT 21
    FTPPROXYUSER
    FTPPROXYPASSWORD
    SCRIPTID 25
    SCRIPTEXT .pl
    SMTPHOST localhost
    WEBSITEURL http://www.stop-go.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
    CATALOGURL http://www.stop-go.co.uk/acatalog/
    CGIBINURL http://www.stop-go.co.uk/cgi-bin/
    PATHFROMCGITOCATALOG /httpdocs/acatalog/
    CODEBASE ./
    FTPHOST 91.192.194.102
    FTPUSERNAME ******
    FTPPASSWORD ******
    PATHTOCGIBIN /cgi-bin/
    USEPASSIVEFTP true
    FTPPATHFROMCGITOCATALOG /httpdocs/acatalog/



    on the server i have httpdocs and cgi-bin in the same location, with the acatalog folder inside the httpdocs folder.

    #2
    Who's your host and what package do you have?

    Comment


      #3
      i have a dedicated managed server from: www.cwcs.co.uk running plesk.

      Comment


        #4
        Can you place the cgi-bin folder on the same level as the acatalog folder and then try again?

        Comment


          #5
          I'd suggest that there is an issue with the server configuration.

          If you have plesk control panel access then within the hosting setup screen check to make sure that cgi-bin checkbox is selected for this domain.

          The server is basically not executing nor returning anything back to the browser when cgi scripts are called.
          Also, double check the permissions on the cgi-scripts as well - 755
          Fergus Weir - teclan ltd
          Ecommerce Digital Marketing

          SellerDeck Responsive Web Design

          SellerDeck Hosting
          SellerDeck Digital Marketing

          Comment


            #6
            You also will need to ensure that PERL is enabled through the Plesk control panel
            The Pretty Dress Company

            Comment


              #7
              all .pl scripts are set to 755, both cgi and perl support are switched on in the plesk control panel for the domain.

              this has worked in the past with the cgi-bin on the same level as the httpdocs folder ?

              Comment


                #8
                Originally posted by webdesignhelper
                PATHFROMCGITOCATALOG /httpdocs/acatalog/
                Is that right?


                Bikster
                SellerDeck Designs and Responsive Themes

                Comment


                  #9
                  what else could it be ?

                  Comment


                    #10
                    That is the path from the cgi to the actalog is typically

                    ../acatalog/

                    as they at the same level on the server.

                    you have used the same setting as per the FTP setting I think (as seen by the server)


                    Bikster
                    SellerDeck Designs and Responsive Themes

                    Comment


                      #11
                      This site is located on a Plesk server.

                      Does this help?

                      Regards,
                      David
                      Attached Files
                      -----------------------------
                      www.synchronisedwebdesign.com
                      Location: North Yorkshire UK

                      Comment


                        #12
                        And this one, see attached.

                        I had big problems, same as yours, when first going on to this server (Plesk) - the CGI-BIN does NOT reside at the same level as the web root, but appears to do so when online. The host said that this was for security reasons.

                        You could perhaps try: (export your own network settings first)

                        Edit this textfile with your domain and ftp username & password, then use [Import] in Network Settings to install it, then try Network Test.

                        Alternatively, the answer I found originally was to use the Wizard to point to the directories.
                        Attached Files
                        Paul
                        Flower-Stands.co.uk - the UK's largest online supplier of Fresh Flower Merchandising Stands

                        Using V10.2 with Norman's brilliantly simple TABBER.

                        Comment


                          #13
                          Originally posted by jont
                          Is that right?
                          I believe so, mine's the same.




                          .
                          Paul
                          Flower-Stands.co.uk - the UK's largest online supplier of Fresh Flower Merchandising Stands

                          Using V10.2 with Norman's brilliantly simple TABBER.

                          Comment


                            #14
                            Originally posted by pfb5
                            (Plesk) - the CGI-BIN does NOT reside at the same level as the web root, but appears to do so when online. The host said that this was for security reasons.
                            Never knew that (not hosted on Plesk before) but good to know for the future.


                            Bikster
                            SellerDeck Designs and Responsive Themes

                            Comment


                              #15
                              After a lot of bother, we got this from the Host:

                              CGI scripts need to be executed from /var/www/vhosts/domain.com/cgi-bin/ - i.e. not /var/www/vhosts/domain.com/httpdocs/cgi-bin. This is for security, although the public URI is still domain.co.uk/cgi-bin/ca000001.pl
                              My hosting agent said:

                              I didn’t realise until he pointed it out. Sorry for that, the real cgi-bin folder is “off web space” so that script cannot be run directly from the address bar, only by the Web Site.
                              (Though I'm not sure that's correct)


                              Paul
                              Paul
                              Flower-Stands.co.uk - the UK's largest online supplier of Fresh Flower Merchandising Stands

                              Using V10.2 with Norman's brilliantly simple TABBER.

                              Comment

                              Working...
                              X