Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installed cart in httpsdocs


Guest

Recommended Posts

I recently rebuilt my whole cart again because of multiple problems. This time I accidently installed my cart in httpsdocs. Which files do I need to move to "httpdocs" and which ones should I leave in "httpsdocs"?

 

Thanks for the support

Link to comment
Share on other sites

Thanks for the reply,

Just to confirm: move all files/folders from httpsdocs to httpdocs and only leave admin folder in httpsdocs?

 

If you have one of these setups with two folders for httpdocs and httpsdocs, then in httpdocs you need to have all of the folders you have in httpsdocs - except for the 'admin' folder - and in admin/includes/configure.php change all of the http://yourdomain.com pathways to https://yourdomain.com

 

Vger

Link to comment
Share on other sites

No - COPY all of the files and folders you have in httpsdocs to httpdocs, except for the 'admin' folder - so that you have two sets. Sorry, but this is necessary with this crazy httpdocs and httpsdocs system.

 

Vger

Link to comment
Share on other sites

Thanks for your help Rhea,

I copied all those files/folders from httpsdocs to httpdocs.

I am still getting this message:

Forbidden

You don't have permission to access / on this server. when I go to my website www.moanagifts.com. Can you please review my config file to see what may be wrong?

 

<?php

// Please, note that all changes in this file will be lost

// after reconfiguring application by Plesk

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

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

define('ENABLE_SSL', 'true');

define('HTTP_COOKIE_DOMAIN', 'http://www.moanagifts.com');

define('HTTPS_COOKIE_DOMAIN', 'http://www.moanagifts.com');

define('HTTP_COOKIE_PATH', '/newshop/');

define('DIR_WS_HTTP_CATALOG', '/newshop/');

define('DIR_WS_HTTPS_CATALOG', '/newshop/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

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_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

No - COPY all of the files and folders you have in httpsdocs to httpdocs, except for the 'admin' folder - so that you have two sets.  Sorry, but this is necessary with this crazy httpdocs and httpsdocs system.

 

Vger

Link to comment
Share on other sites

Thanks for your help Rhea,

I copied all those files/folders from httpsdocs to httpdocs.

I am still getting this message:

Forbidden

You don't have permission to access / on this server. when I go to my website www.moanagifts.com. Can you please review my config file to see what may be wrong?

 

<?php

// Please, note that all changes in this file will be lost

// after reconfiguring application by Plesk

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

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

define('ENABLE_SSL', 'true');

define('HTTP_COOKIE_DOMAIN', 'http://www.moanagifts.com');

define('HTTPS_COOKIE_DOMAIN', 'http://www.moanagifts.com');

define('HTTP_COOKIE_PATH', '/newshop/');

define('DIR_WS_HTTP_CATALOG', '/newshop/');

define('DIR_WS_HTTPS_CATALOG', '/newshop/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

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_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

do not use http in your cookie domain

 

define('HTTP_COOKIE_DOMAIN', 'http://www.moanagifts.com');

 

use

define('HTTP_COOKIE_DOMAIN', 'www.moanagifts.com');

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...