Brian Stempin on 28 Sep 2007 18:09:47 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] linux question... (apache) (virtual hosts)

  • From: "Brian Stempin" <brian.stempin@gmail.com>
  • To: "Philadelphia Linux User's Group Discussion List" <plug@lists.phillylinux.org>
  • Subject: Re: [PLUG] linux question... (apache) (virtual hosts)
  • Date: Fri, 28 Sep 2007 14:09:39 -0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=UbzYiobEI+4l3o0FCuAfxMIUSOVoeN9ejDBtXMZwjmw=; b=iQSAF+C29h8pOz/1YEGjOhoe5TcqHHkMZdWHb/Ic74Z7OVp18NrQAbm6ocFW7aEKnPhCupINUk1zJZLkKT6ffWzvqmhrBTOHYsfytbbM4pucVLf9qtfjbxCPpjU6WE1/w/CLlxRX3kszravf0koVsFDqAXfT3+p92ESyW3voz0M=
  • Reply-to: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
  • Sender: plug-bounces@lists.phillylinux.org

That's what this seems to indicate.

On 9/28/07, Stephen Gran < steve@lobefin.net> wrote:
On Fri, Sep 28, 2007 at 11:39:16AM -0400, Sean C. Sheridan said:
> > (if I'm not mistaken) Apache will resolve that name to an IP address,
> > effectively making the 2 entries the same.
>
> That is what I am seeing.  The only way to make this work is to pick an
> alternate port for the non-named server.  Here's what finally worked:

Can't you just do:

NameVirtualHost 123.123.123.123:80

<VirtualHost 123.123.123.123:80>
    ServerAdmin webadmin@campusparty.com
    DocumentRoot /var/www/html
    ServerName 123.123.123.123
    ErrorLog /var/log/httpd/error_log
    CustomLog /var/log/httpd/access_log combined
</VirtualHost>

<VirtualHost 123.123.123.123:80>
    ServerAdmin webadmin@campusparty.com
    DocumentRoot /home/joe/public_html
    ServerName joe.campusparty.com
    ErrorLog /var/log/httpd/joe_Error_log
    CustomLog /var/log/httpd/joe_Access_log combined
</VirtualHost>

?
--
--------------------------------------------------------------------------
|  Stephen Gran                  | "Wish not to seem, but to be, the       |
|  steve@lobefin.net             | best."   -- Aeschylus                   |
|  http://www.lobefin.net/~steve |                                         |
--------------------------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG/S4zSYIMHOpZA44RAiFGAJ91CSr8kMzLPHQngCUOk9KJ5v22JQCgsQ1F
W92VfFAK06zNr/J++HGTlEA=
=vVey
-----END PGP SIGNATURE-----

___________________________________________________________________________
Philadelphia Linux Users Group         --         http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug