| Stephen Gran on 28 Sep 2007 16:39:21 -0000 |
|
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 | |
--------------------------------------------------------------------------
Attachment:
signature.asc ___________________________________________________________________________ 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
|
|