Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

configuration of localhost install


kaju

Recommended Posts

Posted

Hi,

 

I just install osCommerce for development on my local machine from an installation I downloaded off the live server. The strange behaviour that I am getting is when I try to access the application with a local IP (10.10.10.3) I get automatically redirected to the live version!?

 

 

I poped open the configuration.php file found in the 'includes' directory on the root of the application and found the full URL of the domain written on these lines:

 

define('HTTP_SERVER', 'http://www.mysite.com');

define('HTTPS_SERVER', 'https://www.mysite.com');

 

Assuming that was causing the problem, I made this change:

 

define('HTTP_SERVER', 'http://10.10.10.3');

 

This causes the web application to just hang.

 

Any suggestions?

 

Stef

Posted

Hi,

 

That shoudn't make a difference unless the application has sort of dependency on localhost - which I doubt.

 

I have the web application bound to 10.10.10.3 initially; I just changed it just in case, but still the same problem.

 

S

Archived

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

×
×
  • Create New...