Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Installing on a Linux/Unix Server / Shared hosting directory issue

Shared hosting directory issue

Locked

Started by teamtj on 22 Sep 2006, 5:13 PM · Views: 1,667

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
22 Sep 2006, 5:13 PM
#1
teamtj avatar

teamtj

New Zenner

Join Date:
Sep 2004
Posts:
72
Plugin Contributions:
0

Shared hosting directory issue

I am hosting a ZC installation for a friend on my godaddy hosting package.

My site is like https://www.mysite.com and his is a folder under that like https://www.mysite.com/hissite. I have his domain set up to automatically go to the subfolder so when you type https://www.hissite.com you get https://www.mysite.com/hissite

All of the functionality seems to be there just fine but you can still see https://www.mysite.com/hissite in the address bar after you click any link in the website or when you mouseover a link the https://www.mysite.com/hissite is shown in the status bar.

How do I convince ZC that it is really seeing https://www.hissite.com and not https://www.mysite.com/hissite?

22 Sep 2006, 5:21 PM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Shared hosting directory issue

you need to actually set up the config files this way and you need to make suere that it is an addon domain and not just a redirect

Zen cart PCI compliant Hosting

22 Sep 2006, 5:58 PM
#3
teamtj avatar

teamtj

New Zenner

Join Date:
Sep 2004
Posts:
72
Plugin Contributions:
0

Re: Shared hosting directory issue

I changed
define('HTTP_SERVER', 'http://mywebsite.com');
define('HTTPS_SERVER', 'https://mywebsite.com');
to
define('HTTP_SERVER', 'http://hissite.com');
define('HTTPS_SERVER', 'https://hissite.com');

and
define('DIR_WS_CATALOG', '/hisfolder/');
define('DIR_WS_HTTPS_CATALOG', '/hisfolder/');
to
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

and all is well!

Thanks!