MySQL and virtual hosts

From: BENDRISS Elmehdi (e.bendriss_at_menara.ma)
Date: 04/28/03

  • Next message: Please Sun: "remote dump between Solaris 5.5.1 and Solaris 5.8"
    To: <sunmanagers@sunmanagers.org>
    Date: Mon, 28 Apr 2003 11:50:06 -0000
    
    

    Hi *
    i have the following configuration:

    -------------------------
    | Apache 1 |
    | IP aliasses |
    | ip1 ans ip2 |----------------------- |
    ________
    ------------------------- |
    | |
                                                     |================>
    |MySQL |
    -------------------- |
    |________|
    | Apache 2 | |
    | | ---------------------------- |
    -------------------

    the two apaches are in DNS load-balancing
    user A has a VirtualHost with the IP adress IP1
    user A has the right to make the connexion A@ip1 to mysql server and not
    A@ip2;

    the problem is that for some reason, the "system" tries to make the
    connexion with ip2, and this makes problems
    any idea?

                                                             /////
                                                          (o o)
    -----------------------------------ooO---(_)---Ooo----------------------
    -------------

    Elmehdi BENDRISS Tel: +212 37 71 88 73
    Administrateur Systhme Email:
    e.bendriss@menara.ma
    Direction Internet
    Maroc Telecom
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Please Sun: "remote dump between Solaris 5.5.1 and Solaris 5.8"

    Relevant Pages

    • RE: Apache Virtual Host
      ... you can also put an Include directive in the VirtualHost block. ... Subject: Apache Virtual Host ... have to load your default server as a vhost as well or you won't be able to ...
      (RedHat)
    • Re: Virtual hosting with squirrelmail & apache
      ... > Apache was downloaded when I apt-get installed squirrelmail and setup ... Usually the first virtual host will become the ... allow only connections to the squirrelmail virtualhost over ssl, ...
      (alt.os.linux)
    • open_basedir leaking between virtual hosts
      ... I am setting open_basedir to include only the DocumentRoot and PHP ... This is running apache 2.0.53 and PHP 5.0.3. ... to serve a page from a different VirtualHost. ... Configuration details follow... ...
      (comp.lang.php)
    • Re: mod_frontpage & UID/GID Settings
      ... > and then installed the apache13-fp port. ... > but I could find it in the apache docs. ... > virtual web to point to my root web and listed it first. ... to the VirtualHost settings for the FP admin pages. ...
      (freebsd-isp)
    • Re: Apache + Tomcat Problem
      ... I'm having a problem with my connection between Apache and Tomcat ... I also have a VirtualHost set up in Tomcat's ...
      (comp.lang.java.programmer)