[NTLUG:Discuss] Apache vhost configuration question

Daniel L. Shipman webmaster at srj.net
Sun Jul 23 16:34:28 CDT 2000


Keep in mind that the domain names in the Virtual Hosts directive must be
valid ie answered by DNS somewhere that points to the IP for wich they are
being served
----- Original Message -----
From: m m <llliiilll at hotmail.com>
To: <discuss at ntlug.org>
Sent: Sunday, July 23, 2000 4:27 PM
Subject: Re: [NTLUG:Discuss] Apache vhost configuration question


> Hi Daniel and all,
>
> Thank you for your example. however, it doesn't work on mine. Same results
> (problems) as I posted.
>
> I have tried to setup the qmail, vhost on apache, (read all docs, even ask
> you guys), still never get it work yet for about a month. What a
frustrated!
> I think that Linux don't like me (through I like it).
>
> >From: "Daniel L. Shipman" <webmaster at srj.net>
> >Reply-To: discuss at ntlug.org
> >To: <discuss at ntlug.org>
> >Subject: Re: [NTLUG:Discuss] Apache vhost configuration question
> >Date: Sun, 23 Jul 2000 13:04:21 -0500
> >
> >Here's how I do mine
> >
> >NameVirtualHost 216.61.196.129
> ><VirtualHost 216.61.196.129>
> >ServerAdmin webmaster at srjmarketing.com
> >DocumentRoot /home/httpd/html/public_html
> >ServerName srjmarketing.com
> >ErrorLog /var/log/httpd/srjmarketing.com.error_log
> >TransferLog /var/log/httpd/srjmarketing.com.access_log
> >   <Directory /home/httpd/html/public_html>
> >     Options Includes Indexes FollowSymLinks
> >     AllowOverride FileInfo AuthConfig Limit
> >   </Directory>
> ></VirtualHost>
> >
> ><VirtualHost 216.61.196.129>
> >ServerAdmin webmaster at srjmarketing.com
> >DocumentRoot /home/highwaymaster/public_html
> >ServerName attrackcommunications-cgi.com
> >ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/cgiwrap/highwaymaster/"
> >ErrorLog /var/log/httpd/attrackcommunications-cgi.com.error_log
> >TransferLog /var/log/httpd/attrackcommunications-cgi.com.access_log
> >   <Directory /home/highwaymaster/public_html>
> >     Options Includes Indexes FollowSymLinks
> >     AllowOverride FileInfo AuthConfig Limit
> >     AddType application/x-shockwave-flash   .swf
> >   </Directory>
> ></VirtualHost>
> >----- Original Message -----
> >From: m m <llliiilll at hotmail.com>
> >To: <discuss at ntlug.org>
> >Sent: Sunday, July 23, 2000 2:55 AM
> >Subject: [NTLUG:Discuss] Apache vhost configuration question
> >
> >
> > > Hi all:
> > >
> > > I try to configure multihost on one single IP on apache (1.3.12)
server.
> >I
> > > followed the documentation, and can't make it work! I wonder if it
only
> > > works on different IPs, or different Ports? Can it happens on the same
> >IP
> > > and port?
> > >
> > > when I do this:
> > > ...
> > > NameVirtualHost 192.107.65.23
> > > <VirtualHost 192.107.65.23>
> > > # server a
> > > ...
> > > </virtualHost>
> > > <VirtualHost 192.107.65.23>
> > > # server b
> > > ...
> > > </virtualHost>
> > >
> > > after run/restart the httpd (clean restart) the error log says:
> > > ...[crit] (98)Address already in use: make_sock: could not bind to
port
> >80.
> > > and the server always direct the resuset to the root DocumentRoot,
> >neither
> > > a's or b's DocumentRoot.
> > >
> > > if I do this
> > > ...
> > > NameVirtualHost 192.107.65.23
> > > <VirtualHost aaa.aaa.aaa>
> > > # server a
> > > ...
> > > </virtualHost>
> > > <VirtualHost bbb.bbb.bbb>
> > > # server b
> > > ...
> > > </virtualHost>
> > >
> > > after run/restart the httpd (clean restart) the error log says:
> > > ...[warn] VirtualHost aaa.aaa:80 overlap with VirtualHost bbb.bbb:80
thr
> > > first has precedence, perhaps you need a NameVietualHost directive
> > > I tried to browser the sites, it just went to the first site
(aaa.aaa).
> > >
> > > please help.
> > >
> > > TIA
> > >
> > > jc
> > >
> > >
> > >
> > >  >
> >________________________________________________________________________
> > > Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com
> > >
> > >
> > > _______________________________________________
> > > http://ntlug.org/mailman/listinfo/discuss
> > >
> >
> >
> >_______________________________________________
> >http://ntlug.org/mailman/listinfo/discuss
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>
> _______________________________________________
> http://ntlug.org/mailman/listinfo/discuss
>





More information about the Discuss mailing list