Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 23476 invoked from network); 16 Jul 2008 13:12:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jul 2008 13:12:13 -0000 Received: (qmail 64083 invoked by uid 500); 16 Jul 2008 13:12:02 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 64069 invoked by uid 500); 16 Jul 2008 13:12:02 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 64058 invoked by uid 99); 16 Jul 2008 13:12:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jul 2008 06:12:02 -0700 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [217.12.10.238] (HELO web26201.mail.ukl.yahoo.com) (217.12.10.238) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 16 Jul 2008 13:11:06 +0000 Received: (qmail 8350 invoked by uid 60001); 16 Jul 2008 13:10:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=fwjPXb2zm+lXCtX9Ciz/ZpglhwpWjs1bqSDHuSFDMoB/1663cU26ue1OK8W5P9sXNaDDXk2fSRQY4lBedtRYdmSwm9GmFsUVaHWCjGLGI//drMLYwGpt3DyyN2GD1CFVj5P8D7FgWAAu2DnmbdT6vXQSdCw8M6+Dkf3cFfig9EE=; Received: from [194.126.21.5] by web26201.mail.ukl.yahoo.com via HTTP; Wed, 16 Jul 2008 13:10:28 GMT X-Mailer: YahooMailWebService/0.7.218 Date: Wed, 16 Jul 2008 13:10:28 +0000 (GMT) From: Melanie Pfefer Reply-To: melanie_pfefer@yahoo.co.uk To: users@httpd.apache.org In-Reply-To: <1216207728.6310.23.camel@c102-sg1.uibk.ac.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <593814.5806.qm@web26201.mail.ukl.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] virtual instances Actually I am looking for 1 apache installation Have independent instances: logs, conf and bin. VHosts does not seem to have a log, conf and bin for each instance . Could you please advise? thx --- On Wed, 16/7/08, Severin Gehwolf wrote: > From: Severin Gehwolf > Subject: Re: [users@httpd] virtual instances > To: users@httpd.apache.org > Date: Wednesday, 16 July, 2008, 2:28 PM > Hi! >=20 > > Is it possible to start or stop 1 virtual host and > keep the others running? >=20 > As one httpd binary would server several virtual hosts you > would not be > able to stop one virtual host by stopping the httpd > process. However, an > easy workaround would be to include only specific virtual > host > configurations. >=20 > Imagine the following Include directive in your httpd.conf >=20 > 8<-------------- >=20 > Include vhosts/*.conf >=20 > -------------->8 >=20 > If you would rename the config file of the virtual host > which should not > be served anymore into something like > "vhost.conf.DISABLED" then it > wouldn't be included on next restart. So, restart httpd > should do the > trick then. >=20 > Note! > One drawback might be that if the DNS entry of the disabled > vhost > persists, Apache would not find a virtual host > configuration for the > specified Host HTTP header of the requesting client and, > thus, would > serve the default virtual host (first defined virtual > host). >=20 > > Is it possible to have seperate httpd.conf? >=20 > Yes. One could place all virtual hosts configs into a > separate > directory: >=20 > ---conf/ > +----vhosts/host1.conf > host2.conf > host3.conf >=20 > etc. >=20 > Severin >=20 >=20 > >=20 > > --- On Wed, 16/7/08, Davide Bianchi > wrote: > >=20 > > > From: Davide Bianchi > > > > Subject: Re: [users@httpd] virtual instances > > > To: "Melanie Pfefer" > > > > Cc: users@httpd.apache.org > > > Date: Wednesday, 16 July, 2008, 11:20 AM > > > Melanie Pfefer wrote: > > > > I added these lines: > > > >=20 > > > > Listen 80 > > > > Listen 81 > > > >=20 > > > > NameVirtualHost 10.0.100.4:80 > > > > NameVirtualHost 10.0.100.4:81 > > > >=20 > > > > > > > > ServerName zeus > > > > DocumentRoot /usr/local/apache2/htdocs > > > > > > > >=20 > > > > > > > > ServerName zeus > > > > DocumentRoot /usr/local/apache2/htdocs1 > > > > > > > >=20 > > > > When I access http://zeus:80 I get the =E2=80=9CIt > works=E2=80=9D. > > > When I access http://zeus:81, the logs show: > > > > [Wed Jul 16 09:37:18 2008] [error] [client > > > 172.21.194.71] client denied by server > configuration: > > > /usr/local/apache2/htdocs1/ > > >=20 > > > Check the error_log, there should be a better > error message > > > than 'server=20 > > > configuration'. Also, usually you need to > have a little > > > more information=20 > > > in the VHost configuration (minimal, a > > > > block with the=20 > > > permissions for the DocumentRoot) > > >=20 > > > Check also the permissions on the htdocs1 > directory. > > >=20 > > > Davide > > >=20 > > > --=20 > > > She got her looks from her father. He's a > plastic > > > surgeon. > > > -- Julius Henry "Groucho" Marx > > > (http://en.wikiquote.org/wiki/Groucho_Marx) > > >=20 > > > > --------------------------------------------------------------------- > > > The official User-To-User support forum of the > Apache HTTP > > > Server Project. > > > See > 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 > >=20 > >=20 > > =20 > __________________________________________________________ > > Not happy with your email address?. > > Get the one you really want - millions of new email > addresses available now at Yahoo! > http://uk.docs.yahoo.com/ymail/new.html > >=20 > > > --------------------------------------------------------------------- > > The official User-To-User support forum of the Apache > HTTP Server Project. > > See > 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 > >=20 > >=20 >=20 >=20 > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP > Server Project. > See 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=0A=0A=0A _______________________________= ___________________________=0ANot happy with your email address?.=0AGet the= one you really want - millions of new email addresses available now at Yah= oo! http://uk.docs.yahoo.com/ymail/new.html --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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