If this is your first visit, check our documentation. To post, register or login.
Forums / Installing Zen Cart / Installing on a Linux/Unix Server / Install in both httpdocs and httpsdocs?

Install in both httpdocs and httpsdocs?

Locked

Started by onisama on 5 Jul 2006, 11:54 PM · Views: 6,833

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
5 Jul 2006, 11:54 PM
#1
onisama avatar

onisama

New Zenner

Join Date:
Dec 2005
Posts:
60
Plugin Contributions:
0

Post #1 by onisama

I installed in httpdocs and enabled ssl. When I try to access the admin area I get Error 404. It is trying to connect to https:/kethmemorialgolf.com/onlinestore_test/admin, but there is no such folder in the httpsdocs directory.

Did the install not go properly? Do I need to install to both?

I also tried installing in httpsdocs only, but when I try to access the admin tools get Error 404 due to trying to connect to http:/kethmemorialgolf.com/onlinestore_test/admin, and no such folder exists.

I know I can disable ssl and continue, but I want to be able to use it later, so I would like to fix the issue before I get too far in to it.

Thanks,
Shannon

6 Jul 2006, 12:19 AM
#2
Kim avatar

Kim

Obaa-san

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

Post #2 by Kim

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

6 Jul 2006, 3:44 AM
#3
onisama avatar

onisama

New Zenner

Join Date:
Dec 2005
Posts:
60
Plugin Contributions:
0

Post #3 by onisama

My configure files checkout OK.

6 Jul 2006, 3:57 AM
#4
onisama avatar

onisama

New Zenner

Join Date:
Dec 2005
Posts:
60
Plugin Contributions:
0

Post #4 by onisama

includes/configure.php:

define('HTTP_SERVER', 'http://www.kethmemorialgolf.com');
define('HTTPS_SERVER', 'https://www.kethmemorialgolf.com');

define('ENABLE_SSL', 'true');

define('DIR_WS_CATALOG', '/onlinestore_test/');
define('DIR_WS_HTTPS_CATALOG', '/onlinestore_test/');

define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

define('DIR_WS_PHPBB', '/');

define('DIR_FS_CATALOG', '/home/httpd/vhosts/kethmemorialgolf.com/httpdocs/onlinestore_test/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'zen_test_');
define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
define('DB_SERVER_USERNAME', '');
define('DB_SERVER_PASSWORD', '
');
define('DB_DATABASE', '*****');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

define('SQL_CACHE_METHOD', 'database');
define('DIR_FS_SQL_CACHE', '/home/httpd/vhosts/kethmemorialgolf.com/httpdocs/onlinestore_test/cache');


admin/includes/configure.php:

define('HTTP_SERVER', 'http://www.kethmemorialgolf.com');
define('HTTPS_SERVER', 'https://www.kethmemorialgolf.com');
define('HTTP_CATALOG_SERVER', 'http://www.kethmemorialgolf.com');
define('HTTPS_CATALOG_SERVER', 'https://www.kethmemorialgolf.com');

define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'true');

define('DIR_WS_ADMIN', '/onlinestore_test/admin/');
define('DIR_WS_CATALOG', '/onlinestore_test/');
define('DIR_WS_HTTPS_ADMIN', '/onlinestore_test/admin/');
define('DIR_WS_HTTPS_CATALOG', '/onlinestore_test/');

define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_ADMIN', '/home/httpd/vhosts/kethmemorialgolf.com/httpdocs/onlinestore_test/admin/');
define('DIR_FS_CATALOG', '/home/httpd/vhosts/kethmemorialgolf.com/httpdocs/onlinestore_test/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'zen_test_');
define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
define('DB_SERVER_USERNAME', '');
define('DB_SERVER_PASSWORD', '
');
define('DB_DATABASE', '*****');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

define('SQL_CACHE_METHOD', 'database');
define('DIR_FS_SQL_CACHE', '/home/httpd/vhosts/kethmemorialgolf.com/httpdocs/onlinestore_test/cache');

6 Jul 2006, 4:02 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #5 by ajeh

Your secure certificate is for:

https://www.kethmemorialgolf.com

You should be using that and not:

kethmemorialgolf.com

in your URLs ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Jul 2006, 4:07 AM
#6
onisama avatar

onisama

New Zenner

Join Date:
Dec 2005
Posts:
60
Plugin Contributions:
0

Post #6 by onisama

I am, I just forgot to add the www to the url in the post.

6 Jul 2006, 4:15 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #7 by ajeh

You might try reloading the /admin files and see if any missed the boat on a good upload first time around ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Jul 2006, 4:26 AM
#8
onisama avatar

onisama

New Zenner

Join Date:
Dec 2005
Posts:
60
Plugin Contributions:
0

Post #8 by onisama

I will try that.

Should I have any files/folders related to the store in the https: folder when checking through ftp?

6 Jul 2006, 4:40 AM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #9 by ajeh

If you have to have both directories you will need copies of everything in both ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Jul 2006, 1:26 PM
#10
onisama avatar

onisama

New Zenner

Join Date:
Dec 2005
Posts:
60
Plugin Contributions:
0

Post #10 by onisama

So any changes I make will have to be changed in both directories?

Thanks,
Shannon

6 Jul 2006, 3:54 PM
#11
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Post #11 by vger

Yes, unfortunately. Your host is using this really old two-folder system - most often this means that the control panel being used is Plesk.

However, you can try to get them to symbolically link the httpsdocs folder to the httpdocs folder, and this would remove the need to have a duplicate file set.

Unfortunately some hosts want you to have to use the two-foder system - because it doubles the amount of webspace you are using for no good reason. This gives them the chance to offer you an upgrade for additional web hosting space.

Vger

onisama:

So any changes I make will have to be changed in both directories?

Thanks,
Shannon