Full service web hosting, great prices and support. Starts at $1.99/month!
Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: How to change httpsdocs path to httpdocs, post installation?

  1. #1
    dmilo
    Guest


    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


    How to change httpsdocs path to httpdocs, post installation?


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    598


    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.

  3. #3
    dmilo
    Guest


    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


    How to change httpsdocs path to httpdocs, post installation?


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    598


    Default



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

  5. #5
    don
    Guest


    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


    How to change httpsdocs path to httpdocs, post installation?


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    598


    Default

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

  7. #7
    shemp
    Guest


    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


    How to change httpsdocs path to httpdocs, post installation?


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    598


    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

  9. #9
    shemp
    Guest


    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
    shemp
    Guest


    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, 04: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, 01: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, 07: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

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
  •