Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2007
    Posts
    53
    Plugin Contributions
    0

    Default HTTP_SERVER with web forwarding

    I have my zen cart set up in www.mydomain.co.uk/zendirectory and (for various reasons) have the site url www.shopurl.com using forwarding to get to it.

    In all the config, HTTP_SERVER is set to www.mydomain.co.uk (because I had to install it that way)

    What would happen if I NOW changed www.mydomain.co.uk to www.shopurl.com in the configure.php file? Would it all fall in a heap?

    thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: HTTP_SERVER with web forwarding

    What would happen if I NOW changed www.mydomain.co.uk to www.shopurl.com in the configure.php file? Would it all fall in a heap?
    Are your Zen Cart files present at shopurl.com?? Just redirecting will not load the store as the files have to be present and a mysql DB must also be present
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2007
    Posts
    53
    Plugin Contributions
    0

    Default Re: HTTP_SERVER with web forwarding

    no, all the files are physically located at mydomain.co.uk. The shopURL.com URL is hosted elsewhere (with no server available) and is therefore using a redirect to point to the physical path at mydomain.co.uk/zendirectory.

    The problem is that all emails refer to HTTP_SERVER, which is messy as it doesn't contain the 'real' domain. I could go through and edit them all, but that's a pain, so I wondered if just changing the HTTP_SERVER would actually matter now that it is all installed.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: HTTP_SERVER with web forwarding

    Changing the HTTP_SERVER will point Zen Cart to look at that address for the files and as you state that they do not exist there it will fail.

    If this is rooted in an email issue, you can look at altering the MX record for this to attempt to correct this.

    Best solution is to locate the domain name at the correct server with the cart files and all, as you will also encounter SSL issue in trying to mask domain names
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Mar 2007
    Posts
    53
    Plugin Contributions
    0

    Default Re: HTTP_SERVER with web forwarding

    <sigh> I thought it was probably a no-go, but was worth asking :-)

    I'll look at the MX record - but I reclon I'm just going to have to edit the emails.

    Thanks for your help

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: HTTP_SERVER with web forwarding

    I'll look at the MX record - but I reclon I'm just going to have to edit the emails.
    As I suppose that this is for a Zen Cart install and that some or many of your potential customers might come from the AOL mail bank...I would tread softly into what you have described as AOL: mail will bounce/not be delivered if their requirements are not met.

    This will preclude your using strange email forwards/masking and the like. The mailserver and the domain initializing the message must be from known (to the inet) sources or it is classed as spam and discarded.

    Your purchase notifications and other mail will not arrive at any AOL address when sent from Zen Cart through any kludged mail server configuration.

    Just so you are aware
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v151 Adding HTTP_SERVER to who's online
    By simon1066 in forum General Questions
    Replies: 14
    Last Post: 7 Jan 2014, 12:46 PM
  2. [Done v1.5.0] Wrong use of HTTP_SERVER in gv_mail.php in admin
    By TheBigAristotle in forum Bug Reports
    Replies: 2
    Last Post: 3 Oct 2011, 07:05 PM
  3. Can't login after changing 'HTTP_SERVER' in configure.php
    By tootuff305 in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 28 Sep 2009, 11:31 AM
  4. not all settings were uploaded, might be HTTP_SERVER, DIR_WS_CATALOG, etc
    By jamesdavid in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 19 Jun 2008, 12:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR