Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems with virtual paths with Apache SSL


digitalsoft

Recommended Posts

Posted

Hello.

 

I have Oscommerce 2.2ms2 installed on Debian 3.0+Apache 1.31+Mysql 4.0+ PHP 4.3.4.

My problem is that when I try to make an order and I am redirected to an SSL connection the images don't appear but the page is loaded correctly.No problem if with normal connection.

I know it's a problem of virtual paths but I am trying to find out what is happening and it has no sense.

On Debian distro Apache-SSL and Apache are two packages separated. Both of them have different httpd.conf files. The DocumentRoot directive for both servers is the same. The only difference is this that I have on Apache a VirtualHost directive where DocumentRoot is set to

 

/var/www/tienda/catalog

 

On Apache-ssl has no VirtualHost directive and it is set as default webserver

DocumentRoot /var/www/tienda/catalog

 

What thing is wrong? I know it is a nonsense, but I can't find out .

 

I have checked configure.php to see if I made any mistake during installation but it seems to be ok.

---------configure.php--------

define('HTTP_SERVER', 'http://tienda.digitalsoft.com.es'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://tienda.digitalsoft.com.es'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'tienda.digitalsoft.com.es');

define('HTTPS_COOKIE_DOMAIN', 'tienda.digitalsoft.com.es');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

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

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

Best regards,

Jorge Gimenez

Archived

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

×
×
  • Create New...