Jump to content

Recommended Posts

Posted

We are trying to set up an alternate version of a commercial site that is currently hosted elsewhere (we want the live site to move here when we are ready). The account here was opened with the intention of using that domain name, but we do not want the name hosted here until the site is ready to replace the existing one. The initial steps are all OK.

 

The problem we are having is with setting up a shopping cart. The code we are trying to use seems to get an environment variable to tell it the name of the site (Server_Name I believe). The trouble is that this variable is returning the domain name as it is currently hosted elsewhere. Once we transfer the hosting this will not be a problem, but until then we can not set up the site in advance because the cart is actually at http:\\(our IP at TCH)\~(our user directory)\ and not at the domain name. The cart components will not run because they can not find each other.

 

Is there a way to temporarily have this environment variable (or whatever else is responsible) return the actual location of the cart until we are ready to go? The only alternative seems to be to actually alter the code of the CGI files for the shopping cart.

 

Although the explanation sounds complicated (sorry) the situation is actually pretty straightforward. I'm not asking for help with setting up the cart, just how to control the name of the site that is returned to any CGI code that asks for environment variables. Any guidance at all would be greatly appreciated!

 

-Bigwolf {*}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...