Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 May 2001 08:43:59 -0700
From:      "Tomlinson, Drew" <Drew.Tomlinson@lc.ca.gov>
To:        'George Lewis' <schvin@schvin.net>, 'Prometheus' <prometheus@gmx.ch>
Cc:        "'freebsd-isp@FreeBSD.ORG'" <freebsd-isp@FreeBSD.ORG>
Subject:   RE: Apache and namebased vhosts without specified IP?
Message-ID:  <BA5D0CE1CBB2D411B6AA00A0CC3F023901305DEB@ldcmsx01.lc.ca.gov>

index | next in thread | raw e-mail

[-- Attachment #1 --]
I just happen to have that web page open.  Look here:

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

HTH,

Drew

> -----Original Message-----
> From: owner-freebsd-isp@FreeBSD.ORG
> [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of George Lewis
> Sent: Sunday, April 29, 2001 11:44 AM
> To: Prometheus
> Cc: freebsd-isp@FreeBSD.ORG
> Subject: Re: Apache and namebased vhosts without specified IP?
> 
> 
> Try this:
> 
> 	NameVirtualHost *
> 
> 	<VirtualHost *>
> 		...
> 	</VirtualHost>
> 
> Hope that helps,
> 
> George
> 
> Prometheus (prometheus@gmx.ch) wrote:
> > Hello,
> > I'm searching for a solution that would enable me to use name based
> > vhosts without a specified IP on Apache 1.3.19. The reason 
> for this is
> > that I want to have the vhosts load balanceable without 
> worrying which server
> > needs which config file. Ideally, Apache should respond on all IPs
> > which aren't used for IP based vhosts with the same stuff and just
> > look at the HTTP header to determine what content it should deliver.
> > 
> > I'd like to have something like
> > <VirtualHost>
> > ...
> > </VirtualHost>
> > 
> > Instead of the conventional
> > 
> > <VirtualHost xxx.yyy.zzz.www>
> > ...
> > </VirtualHost>
> > 
> > 
> > 
> > Has anyone got any idea as how this could be done?
> > 
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-isp" in the body of the message
> 
> -- 
> George Lewis
> http://schvin.net/
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
> 

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
<TITLE>RE: Apache and namebased vhosts without specified IP?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>I just happen to have that web page open.&nbsp; Look here:</FONT>
</P>

<P><FONT SIZE=2><A HREF="http://httpd.apache.org/docs/vhosts/name-based.html" TARGET="_blank">http://httpd.apache.org/docs/vhosts/name-based.html</A></FONT>;
</P>

<P><FONT SIZE=2>HTH,</FONT>
</P>

<P><FONT SIZE=2>Drew</FONT>
</P>

<P><FONT SIZE=2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=2>&gt; From: owner-freebsd-isp@FreeBSD.ORG</FONT>
<BR><FONT SIZE=2>&gt; [<A HREF="mailto:owner-freebsd-isp@FreeBSD.ORG">mailto:owner-freebsd-isp@FreeBSD.ORG</A>]On Behalf Of George Lewis</FONT>
<BR><FONT SIZE=2>&gt; Sent: Sunday, April 29, 2001 11:44 AM</FONT>
<BR><FONT SIZE=2>&gt; To: Prometheus</FONT>
<BR><FONT SIZE=2>&gt; Cc: freebsd-isp@FreeBSD.ORG</FONT>
<BR><FONT SIZE=2>&gt; Subject: Re: Apache and namebased vhosts without specified IP?</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Try this:</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NameVirtualHost *</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;VirtualHost *&gt;</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/VirtualHost&gt;</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Hope that helps,</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; George</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Prometheus (prometheus@gmx.ch) wrote:</FONT>
<BR><FONT SIZE=2>&gt; &gt; Hello,</FONT>
<BR><FONT SIZE=2>&gt; &gt; I'm searching for a solution that would enable me to use name based</FONT>
<BR><FONT SIZE=2>&gt; &gt; vhosts without a specified IP on Apache 1.3.19. The reason </FONT>
<BR><FONT SIZE=2>&gt; for this is</FONT>
<BR><FONT SIZE=2>&gt; &gt; that I want to have the vhosts load balanceable without </FONT>
<BR><FONT SIZE=2>&gt; worrying which server</FONT>
<BR><FONT SIZE=2>&gt; &gt; needs which config file. Ideally, Apache should respond on all IPs</FONT>
<BR><FONT SIZE=2>&gt; &gt; which aren't used for IP based vhosts with the same stuff and just</FONT>
<BR><FONT SIZE=2>&gt; &gt; look at the HTTP header to determine what content it should deliver.</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; I'd like to have something like</FONT>
<BR><FONT SIZE=2>&gt; &gt; &lt;VirtualHost&gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; ...</FONT>
<BR><FONT SIZE=2>&gt; &gt; &lt;/VirtualHost&gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; Instead of the conventional</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; &lt;VirtualHost xxx.yyy.zzz.www&gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; ...</FONT>
<BR><FONT SIZE=2>&gt; &gt; &lt;/VirtualHost&gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; Has anyone got any idea as how this could be done?</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; To Unsubscribe: send mail to majordomo@FreeBSD.org</FONT>
<BR><FONT SIZE=2>&gt; &gt; with &quot;unsubscribe freebsd-isp&quot; in the body of the message</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; -- </FONT>
<BR><FONT SIZE=2>&gt; George Lewis</FONT>
<BR><FONT SIZE=2>&gt; <A HREF="http://schvin.net/" TARGET="_blank">http://schvin.net/</A></FONT>;
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; To Unsubscribe: send mail to majordomo@FreeBSD.org</FONT>
<BR><FONT SIZE=2>&gt; with &quot;unsubscribe freebsd-isp&quot; in the body of the message</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
</P>

</BODY>
</HTML>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BA5D0CE1CBB2D411B6AA00A0CC3F023901305DEB>