Brian Vagnoni on 29 Sep 2007 01:29:14 -0000


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

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


http://httpd.apache.org/docs/1.3/vhosts/name-based.html

Lots of info on virtual hosts. If you haven't already looked there. It's suppose to work according to the documentation for 1.3.x and beyond. If you have looked there then please excuse my post.

Brian Vagnoni


From: Sean C. Sheridan [mailto:scs@CampusClients.com]
To: Philadelphia Linux User's Group Discussion List [mailto:plug@lists.phillylinux.org]
Sent: Fri, 28 Sep 2007 14:36:25 -0400
Subject: Re: [PLUG] linux question... (apache) (virtual hosts)

Stephen,


I swear I tried that five times and it didn't work.
But today, it does.

This was the very first attempt I made:

NameVirtualHost 123.123.123.123

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

<VirtualHost 123.123.123.123>
ServerAdmin webadmin@campusparty.com
DocumentRoot /var/www/html
ServerName 123.123.123.123
# BaseName
ErrorLog /var/log/httpd/error_log
CustomLog /var/log/httpd/access_log combined
# AllowOverride All
</VirtualHost>


Ah well, it works now.
Thanks again!!


Sean C. Sheridan
scs@CampusClients.com

Campus Party, Inc.
444 North Third St.
Philadelphia, PA 19123
(215) 320-1810, xtn 117
(215) 320-1814 fax
http://www.CampusClients.com
http://www.CampusParty.com
___________________________________________________________________________
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