View Full Version : Win XP Pro Local Host Installation Issue

09-21-2003, 07:22 PM
Sorry in advance for a basic installation issue.

I am installing OSC on my local PC for learning, testing, and modification.

I am running WIN XP Pro and have MYSQL, PHP, IIS installed. My local host IP address is The path to my IIS web directory is:


OSC files are located in c:/Inetpub/wwwroot/catalog/

The OSC installation works fine up to the second to last install screen. The DB does connect, is created, and initializes fine. I am at a loss as to what needs to go into the osCommerce Configuration Screen fields:

www Address:
Webserver Root Directory:
HTTP Cookie Domain:
HTTP Cookie Path:

I have tried every combination of 'localhost', '', '/catalog/', etc. and can't get the final install to function properly.

The final install screen indicates 'The configuration is successful', but when I click on the 'Catalog' or 'Administrative Tool' test buttons, a new browser window opens with an error indicating 'The page cannot be found.'
The URL in this browser window URL is way out of wack. An example is:

If I explicitly type into the browser URL: it pauses for a second or two and then goes into the opening OSC installation Welcome screen.

A little education will be much appreciated!

09-21-2003, 09:29 PM
I'd highly recommend installing one of the integrated apache/mysql/php packages for windows and not using IIS.

These 2 have both worked well for me:



09-27-2003, 04:17 PM
I would say you dubbled up soming and was save to BOTH configure.php files.

'http:\\' and 'https:\\' should only be listed once.
My "localhost" set from my configure.php files:

define('HTTP_SERVER', 'http://localhost');
define('HTTP_CATALOG_SERVER', 'http://localhost');
define('HTTPS_CATALOG_SERVER', 'https://localhost');
define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // Or chage to your accual path to your ROOT directory - see below.
// define('DIR_FS_DOCUMENT_ROOT', "/inetpub/wwwroot"); // IE Windows Server
define('DIR_WS_ADMIN', '/catalog/admin/');
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

Change localhost to your IP if you want. And set SSL if you have.