Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2010
    Posts
    116
    Plugin Contributions
    0

    Default Enabled SSL, now get error 404

    I enabled SSL and now get an error 404 (The requested URL /index.php was not found on this server.) instead of the https web page. I'm assuming it is a path issue but I installed into the root directory, so I left that section of the configure.php file alone:

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'true');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    Yes, there is an index.php in the root directory. Is the index.php in the root not the correct index.php? Is my path assumption wrong?

    Thanks in advance.

  2. #2
    Join Date
    Jun 2010
    Location
    Austria
    Posts
    115
    Plugin Contributions
    0

    Default Re: Enabled SSL, now get error 404

    Would be worth checking with your hosting provider if http and https content is in the same location on their serves. Some hosts have separate folder structures which aren't suitable for eCom sites.

    The other query is whether you have a full SSL for your domain installed & if you're using your domain name for both http and htttps OR do you use some kind of shared server SSL?

  3. #3
    Join Date
    Aug 2010
    Posts
    116
    Plugin Contributions
    0

    Default Re: Enabled SSL, now get error 404

    So the path should be correct?

    GoDaddy is the host, if that helps.

  4. #4
    Join Date
    Aug 2010
    Posts
    116
    Plugin Contributions
    0

    Default Re: Enabled SSL, now get error 404

    Well, I have the answer. The site is not DNS'd and without that, the path won't resolve. I can get there using an IP but then the CSS doesn't resolve. Catch 22, can't win. How does anyone develop and test a site remake... or is it GoDaddy that's the problem?

  5. #5
    Join Date
    Jun 2010
    Location
    Austria
    Posts
    115
    Plugin Contributions
    0

    Default Re: Enabled SSL, now get error 404

    Your CSS will resolve as long as you use the IP address in the 2 Zen Cart configure.php files. So whilst testing, ensure to use the server path (in your case IP number, with other hosts it's usually server name or server IP). Then once you're ready to go live and switch DNS, just reset the config files to your real domain path. Hope this helps. Edith

 

 

Similar Threads

  1. 404 error on IE with Friendly HTTP Messages enabled
    By derykR in forum Addon Payment Modules
    Replies: 5
    Last Post: 30 Mar 2011, 09:07 AM
  2. Enabled SSL now store doesn't show
    By rfresh in forum General Questions
    Replies: 16
    Last Post: 12 Jan 2009, 05:45 AM
  3. Enabled SSL now Cart is adding Https to end of URL What?!
    By Webmyster in forum Addon Payment Modules
    Replies: 6
    Last Post: 17 Sep 2008, 07:14 PM
  4. Adding ssl. now i get this error
    By prousses in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 26 Sep 2007, 12:40 AM

Posting Permissions

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