Announcement

Collapse
No announcement yet.

Enabled SSL now no Login

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

    Enabled SSL now no Login

    I decided to add SSL Cert to my server and then enabled the Login for SSL via actinic. Now I have no login. All I get is 404 error.
    My server tree is root/vhosts/domain/cgi-bin and root/vhosts/domain/httpdocs/acatalog also root/vhosts/domain/httpsdocs/acatalog and I've tried various combos in my network setup with no joy.
    Any help appreciated.
    Your one stop shop for spares.
    Washing Machine Spare Parts

    #2
    Network Settings

    Just in case someone has any ideas to my problem here are the network settings.

    HTTPPROXYMODE 0
    HTTPPROXYADDRESS
    HTTPPROXYPORT 80
    HTTPPROXYUSER
    HTTPPROXYPASSWORD
    FTPPROXYMODE 0
    FTPPROXYADDRESS
    FTPPROXYPORT 21
    FTPPROXYUSER
    FTPPROXYPASSWORD
    SCRIPTID 1
    SCRIPTEXT .pl
    SMTPHOST mail.keepingupappliances.com
    WEBSITEURL http://www.keepingupappliances.com/
    IGNOREPASSIVEERRORS false
    USERELATIVECGIURLS false
    PATHTOPERL /usr/bin/perl
    SSLCATALOGURL https://www.keepingupappliances.com/acatalog/
    SSLCGIBINURL https://www.keepingupappliances.com/cgi-bin/
    SSLPATHFROMCGITOCATALOG /home/httpd/vhosts/keepingupappliances.com/httpsdocs/acatalog/
    SSLCODEBASE ./
    SSLFTPHOST ftp.keepingupappliances.com
    SSLFTPUSERNAME -----------
    SSLFTPPASSWORD -----------
    SSLPATHTOCGIBIN /cgi-bin/
    SSLUSEPASSIVEFTP false
    CATALOGURL http://www.keepingupappliances.com/acatalog/
    CGIBINURL http://www.keepingupappliances.com/cgi-bin/
    PATHFROMCGITOCATALOG /home/httpd/vhosts/keepingupappliances.com/httpdocs/acatalog/
    CODEBASE ./
    FTPHOST ftp.keepingupappliances.com
    FTPUSERNAME ----------
    FTPPASSWORD ------------
    PATHTOCGIBIN /cgi-bin/
    USEPASSIVEFTP false
    FTPPATHFROMCGITOCATALOG /httpdocs/acatalog/

    During Network Tst mode I get the following error mssge.
    ####
    Your Catalog URL appears to be invalid. The files uploaded to the given 'Path from cgi-bin to acatalog directory', can not be downloaded via the browser on the given Catalog URL. These two access routes don't point to the same destination on the server.
    ###

    Any help appreciated
    Your one stop shop for spares.
    Washing Machine Spare Parts

    Comment


      #3
      try:

      path from cgi to acatalog = ../acatalog/

      path to cgi-bin = root/vhosts/domain/cgi-bin

      path from cgi-bin to acatalog = root/vhosts/domain/acatalog/


      Bikster
      SellerDeck Designs and Responsive Themes

      Comment


        #4
        OK Tried those other network setings but still get the same error.

        During Network Tst mode I get the following error mssge.
        ####
        Your Catalog URL appears to be invalid. The files uploaded to the given 'Path from cgi-bin to acatalog directory', can not be downloaded via the browser on the given Catalog URL. These two access routes don't point to the same destination on the server.
        ###

        It would appear that actinic can't differentiate between the two acatalog folders at /httpdocs/acatalog and /httpsdocs/acatalog when pointing from the cgi-bin at /cgi-bin/.
        Both folders are owned by the same domain user and permissions are the same so I can't see it being that although suexec does control cgi on this server as it does with most apache/plesk servers.

        When I disable the SSL everything works fine. Does anyone else suffer with thes settings coz I've read numerus posts on this subject.

        regards Tony
        Your one stop shop for spares.
        Washing Machine Spare Parts

        Comment


          #5
          Hi there

          On the "SSL" tab, for the path from cgi-bin to the /acatalog/ folder means 'from the secure cgi-bin to the insecure 'acatalog' folder.
          So please could you change
          SSLPATHFROMCGITOCATALOG /home/httpd/vhosts/keepingupappliances.com/httpsdocs/acatalog/
          to
          /home/httpd/vhosts/keepingupappliances.com/httpdocs/acatalog/
          Please try that

          Kind Regards
          Nadeem Rasool
          SellerDeck Development

          Comment


            #6
            Tried that without success. I get the same error each time about the catalog url being invalid. Not matter what combination of network settings I use, I get the same error. The only time the error message is different is when I change permissions on the folders.

            regards
            Tony
            Your one stop shop for spares.
            Washing Machine Spare Parts

            Comment


              #7
              Hi Tony

              Also you need to create a 'symbolic link' from /home/httpd/vhosts/keepingupappliances.com/httpsdocs/acatalog/ to /home/httpd/vhosts/keepingupappliances.com/httpdocs/acatalog/. This means that the files in the acatalog folder can be seen by both http and https.

              Please check this

              Kind Regards
              Nadeem Rasool
              SellerDeck Development

              Comment


                #8
                Nadeem, you come good. What a happy bunny am I.
                Thankyou for all the help.

                Just to clean up this post, here are my findings.

                While trying to build the symlink I got an error from my server about the directory already existing.
                On my initial setup (day 1) I mistakingly created a folder at /httpsdocs called acatalog and put someother files and bits in their i figured I would and actinic would need.
                I renamed the folder and then built the symlink, no problem. After some testing realised that I had some issues with ownership. Chown the link to the domain user and all went well.

                So my fix was to change
                SSLPATHFROMCGITOCATALOG to domain/httpdocs/acatalog/

                Logon to server down to domain level and run command

                ln -s root/domain/httpdocs/acatalog/ root/domain/httpsdocs/
                This puts the acatalog link in the httpsdocs dir.
                cd /httpsdocs/
                chown user.grp acatalog
                ############
                Jan 07 I upgraded my server and migrated the file system accross to the new server, that meant my symlink was out of date.
                If this is you then delete your existing symlink by navigating into the links folder and use 'unlink'.
                Refer to above to recreate the symlink but this time use the -h option in your chown comand otherwise it won't work.
                Of course v8 network paths had to be recreated as they had differed slightly from my previous server set up.
                TTFN
                #############
                exit

                Thats it. Hope this helps someone else.

                Thanks again for all your help.
                regards tony
                Your one stop shop for spares.
                Washing Machine Spare Parts

                Comment


                  #9
                  Hi Tony

                  Excellent, glad it working . Really appreciate you putting the details onto the community, I will bookmark this.

                  Kind Regards
                  Nadeem Rasool
                  SellerDeck Development

                  Comment


                    #10
                    Tony,

                    I've been trying to find the answer to this problem for a couple of days and I finally stumbled on your answer.

                    I followed your instructions to the letter and it works. I now have a secure checkout page with my company logo and the css applied. Excellent.

                    Thanks for your help.
                    Amin Motin
                    First Choice Aquatics Ltd
                    0870 8964698
                    Offering a fine range of high quality branded aquarium and pond products

                    Comment

                    Working...
                    X