Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1
    Join Date
    Jun 2008
    Posts
    111
    Plugin Contributions
    0

    Default subdomain question

    i have a subdomain directory for my site. http://store.inspiritcommon.com points to a folder called /icwebstore. i set up the redirect and it works on the main page of my site. once i drill down further though, the url in the address bar is re-written to www.inspiritcommon.com/icwebstore, the actual directory of my zc install. the ssl certificate i ordered is being processed for http://store.inspiritcommon.com/.

    from my config.php file...
    Code:
    // Define the webserver and path parameters
      // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
      // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
      define('HTTP_SERVER', 'http://store.inspiritcommon.com');
      define('HTTPS_SERVER', 'https://store.inspiritcommon.com');
    
      // Use secure webserver for checkout procedure?
      define('ENABLE_SSL', 'true');
    
    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
      // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
      define('DIR_WS_CATALOG', '/');
      define('DIR_WS_HTTPS_CATALOG', '/');
    i had /icwebstore/ as the catalog directory definitions instead of root at first, but it behaved the same way.

    my host is godaddy, but i think this is some setting i've not changed. any advice is appreciated.
    :) emily
    http://store.inspiritcommon.com/
    ZC 1.3.8a on Godaddy :: EP 1.2.5.4 :: Adv Search 1.1 and a buncha other stuff

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

    Default Re: subdomain question

    my host is godaddy,
    I'm sorry
    but i think this is some setting i've not changed. any advice is appreciated.
    Not in the ZenCart side

    Code:
    store.inspiritcommon.com
    Must be setup as a subdomain

    Your install is then installed to the store subdomain directory not a dir named icwebstore
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2008
    Posts
    111
    Plugin Contributions
    0

    Default Re: subdomain question

    the godaddy thing has been a learning process, but i've gotten it mostly working. it's been a two year process though, between it AND zen cart.

    http://store.inspiritcommon.com is set up as a persistent subdomain with godaddy. it is working. it is password protected and if you want to look, you can use un: alphatester pw: Gr8gratitude. the addy bar when on the home page reads correctly. as soon as you navigate away (to a product, via search, however...) zen cart requests www.inspiritcommon.com. i've changed these lines in my admin configure.php now too, but nothing changes in the address line...

    Code:
       * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
       */
      define('HTTP_SERVER', 'http://store.inspiritcommon.com');
      define('HTTPS_SERVER', 'https://store.inspiritcommon.com');
      define('HTTP_CATALOG_SERVER', 'http://store.inspiritcommon.com');
      define('HTTPS_CATALOG_SERVER', 'https://store.inspiritcommon.com');
    
      // Use secure webserver for catalog module and/or admin areas?
      define('ENABLE_SSL_CATALOG', 'true');
      define('ENABLE_SSL_ADMIN', 'true');
    :) emily
    http://store.inspiritcommon.com/
    ZC 1.3.8a on Godaddy :: EP 1.2.5.4 :: Adv Search 1.1 and a buncha other stuff

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

    Default Re: subdomain question

    Post full configure text
    X-Out db details
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jun 2008
    Posts
    111
    Plugin Contributions
    0

    Default Re: subdomain question

    oops. that was the backup. hang on.
    Last edited by fontaholic; 14 Oct 2010 at 10:56 PM. Reason: pasted wrong code and have a toddler on my head.
    :) emily
    http://store.inspiritcommon.com/
    ZC 1.3.8a on Godaddy :: EP 1.2.5.4 :: Adv Search 1.1 and a buncha other stuff

  6. #6
    Join Date
    Jun 2008
    Posts
    111
    Plugin Contributions
    0

    Default Re: subdomain question

    this is what i have out there now.

    Code:
    <?php
    /**
     * @package Configuration Settings circa 1.3.8
     * @copyright Copyright 2003-2007 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     */
    
    
    /*************** ICWEBSTORE ICWEBSTORE ICWEBSTORE ICWEBSTORE ICWEBSTORE ICWEBSTORE. ***********/
    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /***************       The 2 files should be kept separate and not used to overwrite each other.      ***********/
    
    // Define the webserver and path parameters
      // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
      // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
      define('HTTP_SERVER', 'http://store.inspiritcommon.com');
      define('HTTPS_SERVER', 'https://store.inspiritcommon.com');
    
      // Use secure webserver for checkout procedure?
      define('ENABLE_SSL', 'true');
    
    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
      // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
      define('DIR_WS_CATALOG', '/');
      define('DIR_WS_HTTPS_CATALOG', '/');
    
      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', '/');
    
    // * DIR_FS_* = Filesystem directories (local/physical)
      //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
      define('DIR_FS_CATALOG', '/home/content/b/u/c/bucky/html/icwebstore/');
    
      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 our database connection h50mysql1.secureserver.net
      define('DB_TYPE', 'mysql');
      define('DB_PREFIX', '');
      define('DB_SERVER', 'h50mysql1.secureserver.net');
      define('DB_SERVER_USERNAME', 'XXXXXX');
      define('DB_SERVER_PASSWORD', 'XXXXXX');
      define('DB_DATABASE', 'XXXXXX');
      define('USE_PCONNECT', 'false');
      define('STORE_SESSIONS', 'db');
      // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage
    
      // The next 2 "defines" are for SQL cache support.
      // For SQL_CACHE_METHOD, you can select from:  none, database, or file
      // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache 
      // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
      // ie: /path/to/your/webspace/public_html/zen/cache   -- leave no trailing slash  
      define('SQL_CACHE_METHOD', 'none'); 
      define('DIR_FS_SQL_CACHE', '/home/content/b/u/c/bucky/html/icwebstore/cache');
    
    // EOF
    :) emily
    http://store.inspiritcommon.com/
    ZC 1.3.8a on Godaddy :: EP 1.2.5.4 :: Adv Search 1.1 and a buncha other stuff

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: subdomain question

    Quote Originally Posted by fontaholic
    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG', '/home/content/b/u/c/bucky/html/icwebstore/');
    Looks like either your cart files are not in the correct place or you are pointing to them incorrectly
    Quote Originally Posted by kobra
    Your install is then installed to the store subdomain directory not a dir named icwebstore
    Zen-Venom Get Bitten

  8. #8
    Join Date
    Jun 2008
    Posts
    111
    Plugin Contributions
    0

    Default Re: subdomain question

    *confused* all of my zen cart files are in /icwebstore/. that crazy u/r/l/thingy is how zen cart understands where those files are on the godaddy servers.

    store.inspiritcommon.com, the subdomain, was created after the zen cart files were installed and modded in the directory /icwebstore/ and the store subdomain points to /icwebstore/ as the root.

    there is no directory called /store/

    sorry to be dense. i'm just not understanding.
    :) emily
    http://store.inspiritcommon.com/
    ZC 1.3.8a on Godaddy :: EP 1.2.5.4 :: Adv Search 1.1 and a buncha other stuff

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

    Default Re: subdomain question

    store.inspiritcommon.com, the subdomain, was created after the zen cart files were installed and modded in the directory /icwebstore/ and the store subdomain points to /icwebstore/ as the root.
    Move them to where they belong
    there is no directory called /store/
    Get with GD on how to create a repository for your subdomain
    Zen-Venom Get Bitten

  10. #10
    Join Date
    Jun 2008
    Posts
    111
    Plugin Contributions
    0

    Default Re: subdomain question

    so, you're saying to create a directory called /store/ and move all the files from /icwebstore/ into that directory? or vice versa?

    root/icwebstore/store/zcfiles or
    root/store/icwebstore/zcfiles ?

    thank you for your patience....
    :) emily
    http://store.inspiritcommon.com/
    ZC 1.3.8a on Godaddy :: EP 1.2.5.4 :: Adv Search 1.1 and a buncha other stuff

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v150 database question - domain and subdomain move
    By maperr55 in forum General Questions
    Replies: 2
    Last Post: 29 Mar 2016, 08:40 PM
  2. v154 Subdomain
    By bw1z in forum General Questions
    Replies: 2
    Last Post: 4 Jun 2015, 11:32 PM
  3. editors on subdomain
    By 100asa in forum General Questions
    Replies: 6
    Last Post: 15 Nov 2013, 03:52 PM
  4. subdomain
    By wrapper in forum General Questions
    Replies: 6
    Last Post: 9 Oct 2008, 01:18 PM
  5. Replies: 2
    Last Post: 17 Aug 2007, 05:26 PM

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