Zen Cart Logo
Forums / Installing on a Linux/Unix Server / configure.php paths - sanity check please

configure.php paths - sanity check please

Locked

Views: 1,742

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
23 Feb 2008, 3:21 AM
#1
brian1234 avatar

brian1234

Zen Follower

Join Date:
Jun 2004
Posts:
102
Plugin Contributions:
0

configure.php paths - sanity check please

I have a new install that's giving me "500 Internal Server Error" messages (nothing in the PHP logs) and I'd like to start by having someone check some of my path settings. I don't have a public_html level, the root dir I see via FTP is my main page contents as '/'.

/store/includes/configure.php:
define('HTTP_SERVER', 'http://www.MyDomain.com');
define('HTTPS_SERVER', 'https://protected.MyISP.com/MyDirAtISP/store');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'false');
I'm thinking the "/store" is incorrect there? I have SSL off so that shouldn't be causing my current problems, and when I add (shared) SSL I don't want the entire site to be secure, just the store (and perhaps store/admin).

Here are the WS settings:
define('DIR_WS_CATALOG', '/store/');
define('DIR_WS_HTTPS_CATALOG', '/store/');

/store/admin/includes/configure.php:
define('HTTP_SERVER', 'http://www.MyDomain.com');
define('HTTPS_SERVER', 'https://protected.MyISP.com/MyDirAtISP/store');
define('HTTP_CATALOG_SERVER', 'http://www.MyDomain.com');
define('HTTPS_CATALOG_SERVER', 'https://protected.MyISP.com/MyDirAtISP/store');
Again, I'm thinking the "/store" part of the path is incorrect.

And the admin WS settings:
define('DIR_WS_ADMIN', '/store/admin/');
define('DIR_WS_CATALOG', '/store/');
define('DIR_WS_HTTPS_ADMIN', '/store/admin/');
define('DIR_WS_HTTPS_CATALOG', '/store/');
I believe these are correct.

Thanks!

23 Feb 2008, 3:53 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,606
Plugin Contributions:
0

Re: configure.php paths - sanity check please

define('HTTPS_CATALOG_SERVER', 'https://protected.MyISP.com/MyDirAtISP/store');
Again, I'm thinking the "/store" part of the path is incorrect.

You are correct. Remove the /store from the HTTPS paths.