Jump to content
xt:Commerce Community Forum

Probleme mit ssl verschlüsselung!


Domi22nbg

Recommended Posts

Diese dateien hab ich geändert umd die ssl-proxy zum laufen zu bekommen, baer ich hab es nicht hinbekommen, bitte helft mir weiter!

admin/includes/configure.php

Code: Alles auswählen

define('HTTP_SERVER', 'http://www.shop-24net.com'); // eg, http://localhost or - https://localhost should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.shop-24net.com');

define('HTTPS_CATALOG_SERVER', 'https://www.ssl-id.de/shop-24net.com');

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

admin/includes/configure.org.php

Code: Alles auswählen

define('HTTP_SERVER', 'http://www.shop-24net.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.ssl-id.de/shop-24net.com'); // eg, https://localhost - should not be empty for productive servers

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

diese Dateien habe ich geändert tu sich trotzdem nichts!

includes/configure.php

Code: Alles auswählen

define('HTTP_SERVER', 'http://www.shop-24net.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.ssl-id.de/shop-24net.com'); // eg, https://localhost - should not be empty for productive servers

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

includes/configure.org.php

Code: Alles auswählen

define('HTTP_SERVER', 'http://www.shop-24net.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.ssl-id.de/shop-24net.com'); // eg, https://localhost - should not be empty for productive servers

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

includes/application_top.php

Code: Alles auswählen

// set the type of request (secure or not)

$request_type = ($_SERVER['HTTP_X_FORWARDED_HOST'] == 'www.ssl.id.de') ? 'SSL' : 'NONSSL';

includes/application_top_callback.php

Code: Alles auswählen

// set the type of request (secure or not)

$request_type = ($_SERVER['HTTP_X_FORWARDED_HOST'] == 'www.ssl-id.de') ? 'SSL' : 'NONSSL';

includes/application_top_export.php

Code: Alles auswählen

// set the type of request (secure or not)

$request_type = ($_SERVER['HTTP_X_FORWARDED_HOST'] == 'www.ssl-id.de') ? 'SSL' : 'NONSSL';

inc/xtc_redirect.inc.php

Code: Alles auswählen

function xtc_redirect($url) {

if ( (ENABLE_SSL == true) && ($_SERVER['HTTP_X_FORWARDED_HOST'] == ‘www.ssl-id.de’) ) { // We are loading an SSL page

if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url

$url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL

Link to comment
Share on other sites

  • 1 month later...

Archived

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

×
  • Create New...