Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Osc In Lampp With Ssl, Https Pages Not Found


Guest

Recommended Posts

Hello,

 

i have installed LAMPP 1.4.16 on Fedora Core 6.

The mainpage of xampp works on http and also on https

OSC 2.2 installed

i have turned on ssl in configure.php (admin and catalog)

 

Also i tryed to insert this in my aplication top in catalog/includes

define('HTTPS_SERVER', 'https://192.168.0.53/www.roh-shop.de');

define('ENABLE_SSL', 1); // ssl server enable(1) ...

 

But everytime when i go to login-page or checkout pages i got

404 Not Found

 

i have searched in forum also apachefriends.org and google

but i cant find a answer.

 

maybe someone knows where the problem is and can help me.

 

thanks

 

bg

Michael

Link to comment
Share on other sites

define('HTTPS_SERVER', 'https://192.168.0.53/www.roh-shop.de');

is this correct address, local network ip address and after slash forward proper web address?

 

I think it should be:

define('HTTPS_SERVER', 'https://www.roh-shop.de');

 

you see the difference?

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

sure, i can see.

but my store is not inside the www, only local in my network.

 

i think this is not the problem.

 

bg

Michael

Link to comment
Share on other sites

As this is a local install then the http and https addresses should be 'localhost' followed by the name of the folder - unless you have Virtual Directory Support correctly set up e.g.

 

http://localhost/oscommerce

https://localhost/oscommerce

 

define('ENABLE_SSL', 1);

 

That is not part of the includes/configure.php or the admin/includes/configure.php files.

 

It should be either (for the includes/configure.php file):

 

define('ENABLE_SSL', false);

 

or

 

define('ENABLE_SSL', true);

 

Vger

Link to comment
Share on other sites

yes.

therefore i write in my first post: i have tryed to insert this into application_top.php

not in configure.php.

 

ok, here is my catalog/includes/configure.php

define('HTTP_SERVER', 'http://192.168.0.53'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://192.168.0.53'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', '192.168.0.53');

define('HTTPS_COOKIE_DOMAIN', '192.168.0.53');

define('HTTP_COOKIE_PATH', '/www.roh-shop.de/');

define('HTTPS_COOKIE_PATH', '/www.roh-shop.de/');

define('DIR_WS_HTTP_CATALOG', '/www.roh-shop.de/');

define('DIR_WS_HTTPS_CATALOG', '/www.roh-shop.de/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_QUANTITY_ICONS', DIR_WS_ICONS . 'qicons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/var/www/lampp/www.roh-shop.de/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', '192.168.53'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'xxx');

define('DB_SERVER_PASSWORD', 'xxx');

define('DB_DATABASE', 'roh-shop');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

---------------------------------------------------------------------------------------------------

 

and here is my admin/includes/configure.php

define('HTTP_SERVER', 'http://192.168.0.53'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://192.168.0.53');

define('HTTPS_CATALOG_SERVER', 'https://192.168.0.53');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/var/www/lampp/www.roh-shop.de/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/www.roh-shop.de/magic/'); // absolute path required

define('DIR_FS_ADMIN', '/var/www/lampp/www.roh-shop.de/magic/'); // absolute pate required

define('DIR_WS_CATALOG', '/www.roh-shop.de/'); // absolute path required

define('DIR_FS_CATALOG', '/var/www/lampp/www.roh-shop.de/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

define('DIR_FS_ELMAR', DIR_WS_CATALOG . 'elmar_start.php');

 

// define our database connection

define('DB_SERVER', '192.168.0.53'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'xxx');

define('DB_SERVER_PASSWORD', 'xxx');

define('DB_DATABASE', 'roh-shop');

define('USE_PCONNECT', 'false'); // use persisstent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

---------------------------------------------------------------------------------------------------

 

in application_top.php i have inserted

define('HTTPS_SERVER', 'https://192.168.0.53/www.roh-shop.de');

define('ENABLE_SSL', 1); // ssl server enable(1) ...

 

i am not sure if i need this two lines, but i found it in the forum.

 

 

thanks

Michael

Link to comment
Share on other sites

... when i change "192.168.0.53" to localhost i got the same error.

 

http - working correct.

https - 404 Page not found

 

thanks

Michael

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...