Announcement

Collapse
No announcement yet.

Network Settings with 1and1.co.uk

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

    #16
    Originally posted by drounding View Post
    Simply create a directory in your webspace for each domain. Then in the 1and1 control panel point each domain to the subdirectory you created for it. Each domain will see that subdirectory as it's root. Within each directory then create cgi-bin and acatalog folders, set the permissions and your finished.
    this all sounds similar to my setups but as i said i use ftp logins restricted to certain folders (domains) in the hosting area so actinic only sees and uploads to the correct area.

    Comment


      #17
      Originally posted by Darren B View Post
      I really dont understand why you need to add shop to the path. if you want your site hosted in a folder called shop change the acatalog to shop under the network settings.

      D
      Hi Darren, this is a setting under domains on 1and1. Each domain can have its own folder which is setup in the domain section of the administration pages. This folder then becomes the root folder for that domain and to actinic it looks no different than any other host.

      Malcolm

      SellerDeck Accredited Partner,
      SellerDeck 2016 Extensions, and
      Custom Packages

      Comment


        #18
        OK so shop really should not be in the settings file then. As the shop or what ever directory name you used is the root therefore it does not need to be specified.

        Comment


          #19
          Originally posted by malbro View Post
          These are my settings for 1and1

          HTTPPROXYMODE 0
          HTTPPROXYADDRESS
          HTTPPROXYPORT 80
          HTTPPROXYUSER
          HTTPPROXYPASSWORD
          FTPPROXYMODE 0
          FTPPROXYADDRESS
          FTPPROXYPORT 21
          FTPPROXYUSER
          FTPPROXYPASSWORD
          SCRIPTID 1
          SCRIPTEXT .pl
          SMTPHOST auth.smtp.oneandone.co.uk
          WEBSITEURL http://www.toddesigns.co.uk/
          IGNOREPASSIVEERRORS true
          USERELATIVECGIURLS false
          PATHTOPERL /usr/bin/perl
          USEENHANCEFTP false
          FTPCLIENTTIMEOUT 15000
          FTPRETRYDELAY 3000
          FTPSILENT false
          FTPMAXRETRIES 6
          FTPCONNECTTIMEOUT 50000
          SMTPAUTHREQUIRED false
          SMTPUSERNAME username
          SMTPPASSWORD password
          CATALOGURL http://www.toddesigns.co.uk/acatalog/
          ONLINESTOREFOLDERNAME acatalog
          CGIBINURL http://www.toddesigns.co.uk/cgi-bin/
          PATHFROMCGITOCATALOG ../acatalog/
          CODEBASE ./
          FTPHOST hostname
          FTPUSERNAME name
          FTPPASSWORD password
          PATHTOCGIBIN /cgi-bin/
          USEPASSIVEFTP true
          FTPPATHFROMCGITOCATALOG ../acatalog/
          Thanks for posting your settings Malcolm. They are identical to mine, so I'm still lost!

          When I upload, it seems to manage to upload all the cgi-files ok, yet then gives this error:

          Actinic Ecommerce 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.
          When I run Run Web | Configure Web Site Details

          It wants to change the cgi-bin directory to cgi-bin%20 - and when I say ok to that it says it can't do it!


          If I run Test in Network Settings, I get this error:

          If you have never uploaded your catalog to the web site, try a 'CGI Script ID Number' of 2. If you have already uploaded your catalog at least once, ignore this message.


          Then this error:

          The web server returned error code 404 - Requested URL not found. This means Actinic Ecommerce can not execute the CGI scripts on your web site. Run Web | Configure Web Site Details... to check the web setup.
          I've approached 1and1 and they said to change permissions to 777, which I have done - no difference.

          They've also said to use a different FTP client like filezilla for uploading the Actinic Ecommerce?

          I think that would just confuse matters personally - I have used CuteFTP to manually put the pm and pl files into the cgi-bin, but I don't think that's the problem - they seem to be uploading ok, it seems to be Actinic having a problem accessing them thereafter.

          Malcolm - if you run Web | Configure Web Site Details, what does yours show as the root directory? Mine picks up / but then tells me my web root directory path or website address appears to be incorrect. If I then change it to /shop, I then get the cgi-bin errors above!

          I am seriously disillusioned!!

          Comment


            #20
            Are you sharing the cgi-bin across domains? With 1and1 you can have multiple cgi-bins.
            Is your ftp account for Actinic set up to access the root of your webspace or the root of the domain?

            Comment


              #21
              Originally posted by Mox View Post
              I am seriously disillusioned!!
              I think the problem with your settings is the PATHTOCGIBIN. When Actinic uses FTP to connect to your site it links to the main root directory, now I am assuming that you have setup a directory(folder) Shop in the root directory and that you set the domain to use this as its root in the domain setup of 1and1. Also I am assuming that in the shop directory you have two sub directories acatalog and cgi-bin. If so then PATHTOCGIBIN needs to be set to /shop/cgi-bin so that Actinic knows how to reach the cgi-bin directory from the FTP root directory of your 1and1 server. Also make sure PATHFROMCGITOCATALOG is set to ../acatalog. All the other settings should ignore the shop directory and use the domain name.

              The problem here is that the domain is pointing to the shop directory as its root but the FTP is using the real root of your server.

              I hope this helps if not email me directly via the link in my signature.

              When running the test you should see
              CGI-BIN directory: /shop/cgi-bin/
              Web Root directory: ../

              The picture on the left, in the wizard, should show the root / with shop as a sub directory with a + sign indicating further sub directories.

              On my site I have one domain using the main root directory and several testing domains each using a sub directory as its root, all are setup in Actinic and upload correctly. Its one of the main reasons I use 1and1 as with the large bandwidth and multiple domains it's an economic solution for a developer allowing a chance to check the sites in a real environment.

              Malcolm

              SellerDeck Accredited Partner,
              SellerDeck 2016 Extensions, and
              Custom Packages

              Comment


                #22
                Originally posted by drounding View Post
                Are you sharing the cgi-bin across domains? With 1and1 you can have multiple cgi-bins.
                Is your ftp account for Actinic set up to access the root of your webspace or the root of the domain?
                This is what i was asking back in post #15

                to me it seems the ftp details are not for the root of the domain but the master ftp details for the root of the server. Which would answer why actinic is having a fit.

                Comment


                  #23
                  Originally posted by malbro View Post
                  When Actinic uses FTP to connect to your site it links to the main root directory, now I am assuming that you have setup a directory(folder) Shop in the root directory and that you set the domain to use this as its root in the domain setup of 1and1. Also I am assuming that in the shop directory you have two sub directories acatalog and cgi-bin. If so then PATHTOCGIBIN needs to be set to /shop/cgi-bin so that Actinic knows how to reach the cgi-bin directory from the FTP root directory of your 1and1 server. Also make sure PATHFROMCGITOCATALOG is set to ../acatalog. All the other settings should ignore the shop directory and use the domain name.

                  The problem here is that the domain is pointing to the shop directory as its root but the FTP is using the real root of your server.
                  Many thanks Malcolm. Yes, to all of above!! That is exactly how it is set up.

                  Well, I've set:

                  CGI-BIN directory: /shop/cgi-bin/
                  Web Root directory: ../

                  And I've just run Web | Configure Web Site Details again and still get this error:

                  "There was a failure in connecting to the FTP server in an attempt to execute a FTP chmod command. The Connection Wizard will not continue"

                  Which is bonkers as I set all folders to 777. Unless it's the root directory permissions messing it up?!



                  I will mail you, many thanks for your kind offer.

                  Comment


                    #24
                    Originally posted by Darren B View Post
                    to me it seems the ftp details are not for the root of the domain but the master ftp details for the root of the server. Which would answer why actinic is having a fit.
                    yep it looks like the ftp settings are wrong and not pointing to the correct directory.

                    Malcolm

                    SellerDeck Accredited Partner,
                    SellerDeck 2016 Extensions, and
                    Custom Packages

                    Comment


                      #25
                      Originally posted by Mox View Post

                      Which is bonkers as I set all folders to 777. Unless it's the root directory permissions messing it up?!
                      .
                      cgi-bin should be 755

                      Comment


                        #26
                        Originally posted by Mox View Post
                        Which is bonkers as I set all folders to 777. Unless it's the root directory permissions messing it up?!



                        I will mail you, many thanks for your kind offer.
                        all the folders on my server are set to 755. I do get odd errors from time to time on 1and1 that I don't ever see on the yarn site which is hosted in the UK by pinbrook, but they are not repeatable so I assume its a server loading or bandwidth problem at 1and1.

                        Malcolm

                        SellerDeck Accredited Partner,
                        SellerDeck 2016 Extensions, and
                        Custom Packages

                        Comment


                          #27
                          Originally posted by malbro View Post
                          yep it looks like the ftp settings are wrong and not pointing to the correct directory.
                          It does look that way, however it doesn't work if I ignore my shop directory and try to upload to the root directory - I get all the same error messages.

                          Comment


                            #28
                            you would you would be better to have a ftp login that only accesses the domain root not the server root

                            Comment


                              #29
                              I'm still confused as to exactly what you have set up.

                              As I understand it your FTP access account is to your webspace root (not the domain root).
                              Your domain is pointing to a folder in the webspace called 'shop' as it's root.
                              You have cgi-bin and acatalog folders in your shop folder with permssions set to at least 755.

                              Is this the case?

                              Comment


                                #30
                                Originally posted by Mox View Post
                                HTTPPROXYMODE
                                HTTPPROXYADDRESS
                                HTTPPROXYPORT 80
                                HTTPPROXYUSER
                                HTTPPROXYPASSWORD
                                FTPPROXYMODE 0
                                FTPPROXYADDRESS
                                FTPPROXYPORT 21
                                FTPPROXYUSER
                                FTPPROXYPASSWORD
                                SCRIPTID 1
                                SCRIPTEXT .pl
                                SMTPHOST
                                WEBSITEURL http://www.domain.co.uk
                                IGNOREPASSIVEERRORS true
                                USERELATIVECGIURLS false
                                PATHTOPERL /usr/bin/perl
                                CATALOGURL http://www.domain.co.uk/acatalog/
                                CGIBINURL http://www.domain.co.uk/cgi-bin/
                                PATHFROMCGITOCATALOG ../shop/acatalog/
                                CODEBASE ./
                                FTPHOST ftp.domain.co.uk
                                FTPUSERNAME xxxxxxxxx
                                FTPPASSWORD xxxxxxxx
                                PATHTOCGIBIN shop/cgi-bin/
                                USEPASSIVEFTP false
                                FTPPATHFROMCGITOCATALOG
                                Michelle
                                On the above settings
                                change PATHTOCGIBIN /shop/cgi-bin/ (note leading /)
                                change FTPPATHFROMCGITOCATALOG ../acatalog/
                                set PATHFROMCGITOCATALOG to ../acatalog/

                                in 1and1 administration under domain overview

                                for domain www.domain.co.uk make sure destination is set to Web space (/shop) and that status is ready

                                Malcolm

                                SellerDeck Accredited Partner,
                                SellerDeck 2016 Extensions, and
                                Custom Packages

                                Comment

                                Working...
                                X