Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    Sofia, Bulgaria
    Posts
    203
    Plugin Contributions
    0

    Zen cart wont work with virtual host ?

    Pleasseee I already dont know what a hell is going on here
    i cant configure my cart to use mu VHost ...
    here is the configure.php file

    Code:
    define('HTTP_SERVER', 'e-storebg.com/');
      define('HTTPS_SERVER', 'e-storebg.com/');
    
    
    // * 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', 'e-storebg.com/');
      define('DIR_WS_HTTPS_CATALOG', 'e-storebg.com/');
    
      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/');
    
    // * 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', 'C:/apache2triad/htdocs/e-storebg.com/');
    and here is the httpd.conf

    Code:
    NameVirtualHost www.e-storebg.com
    <VirtualHost www.e-storebg.com> 
        ServerAdmin [email protected] 
        DocumentRoot C:/apache2triad/htdocs/e-storebg.com 
        ServerName www.e-storebg.com 
        ServerAlias e-storebg.com 
        DirectoryIndex index.php
        ErrorLog C:/apache2triad//logs/www.e-storebg.com-error.log 
        CustomLog C:/apache2triad//logs/www.e-storebg.com-access.log combined 
    </VirtualHost>

    it wont work shows me links in apache like : ...,

    http://e-storebg.com/e-storebg.com/e...=index&cPath=1......

    Im Using
    Apache/2.0.55 (Win32) PHP/4.4.2 mod_ssl/2.0.55 OpenSSL/0.9.8a
    OS: Windows Advanced Server 2003 R2
    Zen Cart v 1.3x

    Also Im behing router which IP is: 193.68.140.40
    Domain DNS is also like this on router this is not a problem but I dont know



    I cant get it pleaseee anyy one

  2. #2
    Join Date
    Apr 2006
    Location
    Sofia, Bulgaria
    Posts
    203
    Plugin Contributions
    0

    Default Re: Zen cart wont work with virtual host ?

    ok I found out how to configure Apache and I did it know the store is working

    but https wont work OK when I decide to log into profile or chust to check out it wont load

    the apache is ok it cant be problem something is in the zencart I dont
    I made it same congig and for 443 port but it wont work
    what I miss and where ?

  3. #3
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Zen cart wont work with virtual host ?

    Go to your Zen Cart admin panel --> Tools --> Server Info and scroll down until you find the Open SSL entries. That will tell you if ssl is installed or not.

    Also, make sure that you have ssl enabled in both of your configure.php files.

    Vger

  4. #4
    Join Date
    Apr 2006
    Location
    Sofia, Bulgaria
    Posts
    203
    Plugin Contributions
    0

    Default Re: Zen cart wont work with virtual host ?

    Apache/2.0.55 (Win32) PHP/4.4.2 mod_ssl/2.0.55 OpenSSL/0.9.8a

    Code:
    // Use secure webserver for checkout procedure?
      define('ENABLE_SSL', 'true');
    I have this I have SSL I mean it works but when I click to login
    It wonts to display the page I have one more errors at the apache

    In the ssl error log i Found this
    [Thu Jun 15 19:14:46 2006] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
    So i know that this is not for this forum but how could I manage my certificates how could i genarate one or what .. i dont know

  5. #5
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Zen cart wont work with virtual host ?

    What is your server name then? Once you know that you can change your local configure.php files to match it and the ssl problems should be resolved. It may be that your server uses 127.0.0.1 (the ip address for localhost), or the ip address of a router attached your computer, or even the name of a computer on a network.

    Vger

  6. #6
    Join Date
    Apr 2006
    Location
    Sofia, Bulgaria
    Posts
    203
    Plugin Contributions
    0

    Default Re: Zen cart wont work with virtual host ?

    I got it the problem isn't in the Zen Cart I have problems with certificates by apache I have to ganarate Certificate wich name has to match with that on one Server name (the same as its site and domain name).
    This is really confusing couse I generate it but i can't find where my apache save them I already posted to their forum but still no answer.

    If any one have expirience with that Should be great to help.

    Sorry about the offtopic but Im going to overload and I need some help but noone pay attention I read out all toturials and help files but still nothing

    I will be grateful for any help gaved ?

 

 

Similar Threads

  1. Migrating to new host using SuPhp - admin login wont work!
    By photoseller in forum General Questions
    Replies: 7
    Last Post: 12 Jul 2010, 04:45 PM
  2. Can zen cart be used with virtual merchant
    By amonte in forum General Questions
    Replies: 1
    Last Post: 26 Jun 2008, 07:21 PM
  3. Host site not compatible with Zen Cart?
    By missterri in forum General Questions
    Replies: 17
    Last Post: 16 Apr 2008, 04:50 PM
  4. moving zen cart to a virtual host with no domain
    By Capslock118 in forum General Questions
    Replies: 4
    Last Post: 26 Jun 2007, 09:48 PM
  5. Total Confuse with virtual host
    By sicness in forum General Questions
    Replies: 2
    Last Post: 12 Jun 2006, 03:29 PM

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