kaju Posted April 6, 2004 Posted April 6, 2004 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
kaju Posted April 6, 2004 Author Posted April 6, 2004 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
Guest Posted April 6, 2004 Posted April 6, 2004 it is most likely your configure.php files point to the live site, rather than the local host, ie put in http://localhost/foldername instead of http://mysite.com
Recommended Posts
Archived
This topic is now archived and is closed to further replies.