httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Boorshtein <mboorsht...@yahoo.com>
Subject RE: [users@httpd] Virtual Hosting With 2 domains, 1 IP?
Date Fri, 04 Apr 2003 14:09:06 GMT
I didn't, i just thought yuo could.  I think mod_rewrite is going to be
the way to go.

Marc

On Fri, 2003-04-04 at 02:16, Boyle Owen wrote:
> >-----Original Message-----
> >From: Marc Boorshtein [mailto:mboorshtein@yahoo.com]
> >
> >I have one server that will have two domains with only 1 IP address.  I
> >want to use one virtual host to handle mass hosting (server.com), and 1
> >for administrative functions (server.net). 
> 
> >From my quick skim of the mass-VH and mod_vhost docs, I'd say I'm not so
> sure you can do this... I think it is the NameVirtualHost directive
> which is causing the mapping to ServerName to override the mass-VH.
> However, if you remove it, then server.net won't work.
> 
> Do you have a link to any documentation that says you can have both
> mass-VH and NBVH on the same IP?
> 
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored. 
> 
> > Here is part of my
> >httpd.conf file :
> >UseCanonicalName off
> >
> > NameVirtualHost 127.0.0.1
> >
> ><VirtualHost www.server.net>
> >        ServerName www.server.net
> >        DocumentRoot /var/www/html
> ></VirtualHost>
> >
> ><VirtualHost *>
> >        LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
> >        CustomLog logs/access_log vcommon
> >
> >        # include the server name in the filenames used to satisfy
> >requests
> >        VirtualDocumentRoot /var/www/hosts/%0/docs
> >
> >        <Location />
> >         DAV on
> >        </Location>
> >
> ></VirtualHost>
> >
> >If the first <VirtualHost> is there, I only get what would result from
> >www.server.net.  Any thoughts?
> >
> >Thanks
> >Marc Boorshtein
> >
> >
> >-- 
> >Marc Boorshtein <mboorshtein@yahoo.com>
> >
> 
> This message is for the named person's use only. It may contain
> confidential, proprietary or legally privileged information. No
> confidentiality or privilege is waived or lost by any mistransmission.
> If you receive this message in error, please notify the sender urgently
> and then immediately delete the message and any copies of it from your
> system. Please also immediately destroy any hardcopies of the message.
> You must not, directly or indirectly, use, disclose, distribute, print,
> or copy any part of this message if you are not the intended recipient.
> The sender's company reserves the right to monitor all e-mail
> communications through their networks. Any views expressed in this
> message are those of the individual sender, except where the message
> states otherwise and the sender is authorised to state them to be the
> views of the sender's company. 
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
-- 
Marc Boorshtein <mboorshtein@yahoo.com>

Mime
View raw message