Page 1 of 2 12 LastLast
Results 1 to 10 of 13

How to change httpsdocs path to httpdocs, post installation?

This is a discussion on How to change httpsdocs path to httpdocs, post installation? within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I was able to install OsCommerce on my first try, by reading both the 'fast' and 'detailed' installation instructions in ...

      
  1. #1
    Lurker
    Join Date
    Feb 2003
    Posts
    2
    Rep Power
    0


    Default How to change httpsdocs path to httpdocs, post installation?

    I was able to install OsCommerce on my first try, by reading both the 'fast' and 'detailed' installation instructions in your manual. Thank you for creating that.

    The pages of the sample cart come up, see http://www.wellohwell.com/catalog/. However...

    During installation, I installed OSC in httpdocs/catalog - but I also checked the box for SSL. Now, when you click on "log yourself in" or "create an account" or "checkout", the URL is not found because it's sending you to the httpSdocs/ dir.

    Before I delete the whole thing and start over - how could I change this path so it will just use httpdocs? Or, is there another option that I'm overlooking?

    Thanks.

    Dan

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    Change this in the /catalog/configure.php

    Just find the "enable https" line and change it from true to false to disable it, or find the "https server" line, and change that to point to your correct https server.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Lurker
    Join Date
    Feb 2003
    Posts
    2
    Rep Power
    0


    Default

    Quote Originally Posted by msasek
    Change this in the /catalog/configure.php

    Just find the "enable https" line and change it from true to false to disable it, or find the "https server" line, and change that to point to your correct https server.
    Thanks. I couldn't find a /catalog/configure.php.

    I did find a /catalog/includes/configure.php and a catalog/admin/includes/configure.php, and made this change in both of them:
    define('ENABLE_SSL', 'false');

    I also tried it in both as
    define('ENABLE_SSL', false);
    without the single quotes around false.

    It didn't make any difference. It's still sending me to https://www... instead of http://www...

    Am I doing something wrong? Is there somewhere else I can change something?

    Dan

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default



    I gave you the wrong path. You found it. Just clear your browser cache. Also, change your https server to http://yourdomain.com
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    don
    don is offline
    New Member
    Join Date
    Dec 2002
    Posts
    12
    Rep Power
    0


    Default

    How can I edit that the link will change to https://www.mydomain.com when people click on Check out . If I do not edit as above, do I need to load Catalog and Admin to /httpsdocs?

  6. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    In order to use SSL, you must change the settings as shown above, or it will not work at all.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  7. #7
    Lurker
    Join Date
    Apr 2003
    Posts
    4
    Rep Power
    0


    Default

    Quote Originally Posted by msasek
    In order to use SSL, you must change the settings as shown above, or it will not work at all.
    msasek,

    Explain how SSL will work by disabling it. I had the same problems as the first guy in this thread, I used your suggestions and it works now. EXCEPT that when I enter a credit card on an order, it's not secure. What am I missing, what did I do wrong?

    Thanks!

  8. #8
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    This thread is actually about disabling SSL, not enabling it. To enable it, you have to have the correct secure server url, and have the SSL settings in the configure.php files set to true.

    The above example was to disable SSL, and my second response was not really clear. The settings need to be set to TRUE for SSL to work.

    Sorry for any confusion I caused
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  9. #9
    Lurker
    Join Date
    Apr 2003
    Posts
    4
    Rep Power
    0


    Default

    OK, that makes sense. So tell me this since I am having troubles. In my root I have 2 directories called httpdocs and httpsdocs. Currently I have all of the files in httpdocs, however, when I try to check out, the url switched to https://... but it cannot find the file it looks for (although it can when I disable SSL). Do I need to place files in the httpsdocs in order for it to work?

    Thanks again!

  10. #10
    Lurker
    Join Date
    Apr 2003
    Posts
    4
    Rep Power
    0


    Default

    If it helps, here is the error that I am getting: "Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kerpop.com/httpsdocs/catalog/checkout_shipping.php on line 13"

Page 1 of 2 12 LastLast

Similar Threads

  1. I.P. Address Installation - Need to change to URL
    By ReginaStelling in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 08-09-2004, 05:22 AM
  2. change path to images to absolute reference
    By mkraft in forum osCMax v1.7 Installation
    Replies: 5
    Last Post: 04-24-2004, 02:17 AM
  3. httpsdocs problem
    By knullhund in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 02-23-2004, 05:08 AM
  4. Image path, where to change?
    By misterjonl in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 10-08-2003, 08:23 PM
  5. Post Installation Erros
    By harken in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 02-20-2003, 07:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •