Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 56973 invoked from network); 22 Jan 2007 08:02:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jan 2007 08:02:32 -0000 Received: (qmail 26300 invoked by uid 500); 22 Jan 2007 08:02:29 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 26282 invoked by uid 500); 22 Jan 2007 08:02:28 -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 26266 invoked by uid 99); 22 Jan 2007 08:02:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jan 2007 00:02:28 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of steve.j.swift@gmail.com designates 64.233.166.180 as permitted sender) Received: from [64.233.166.180] (HELO py-out-1112.google.com) (64.233.166.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jan 2007 00:02:20 -0800 Received: by py-out-1112.google.com with SMTP id u77so590565pyb for ; Mon, 22 Jan 2007 00:01:59 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ZD2v8N7WAStEtZSmi4/9tBkr6YmhhogWkDgkLTqP0HMTXgkYaePOOPB4Naf6ZhF9E0ggpBLY5RPAOvGsPL49tQCKI234fG+RZ/GPsdmwhmwpgc8GRuN+Elnrt4hXeAZJmrtugj+lSQJTXwxvGVoyHhF3CnGX1eXKk0bMYRO4mgg= Received: by 10.35.49.15 with SMTP id b15mr9931514pyk.1169452918847; Mon, 22 Jan 2007 00:01:58 -0800 (PST) Received: by 10.35.13.8 with HTTP; Mon, 22 Jan 2007 00:01:58 -0800 (PST) Message-ID: Date: Mon, 22 Jan 2007 08:01:58 +0000 From: "Steve Swift" To: users@httpd.apache.org, alessandro.ilardo@my-sandro.net In-Reply-To: <45B3B1C1.8090203@my-sandro.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_40745_30566313.1169452918664" References: <45B3B1C1.8090203@my-sandro.net> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Apache named virtual host ------=_Part_40745_30566313.1169452918664 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Well, as you've documented the content of your httpd.conf, you are not setting different documentroot values in the other virtual hosts! On 21/01/07, Alessandro Ilardo wrote: > > Hi there, > I can't run any virtual host except for the default. > > code: > > ------------------------------------------------------------------------ > > > NameVirtualHost *:80 > > > ServerName linux.domain.com > DocumentRoot /var/www/html > > > ServerName domain-lab.eu > ProxyRequests off > ProxyPass / http://saturn.domain.com/domain-lab/ > ProxyPassReverse / http://saturn.domain.com/domain-lab/ > > > ServerName my-domain.net > ProxyRequests off > ProxyPass / http://saturn.domain.com/domain-lab/ > ProxyPassReverse / http://saturn.domain.com/domain-lab/ > > > > ------------------------------------------------------------------------ > > > Using the the configuration above I always get the first virtual host > document root > > Any help is apreciate. > Thanks > > --------------------------------------------------------------------- > 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 > > -- Steve Swift http://www.swiftys.org.uk ------=_Part_40745_30566313.1169452918664 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Well, as you've documented the content of your httpd.conf, you are not setting different documentroot values in the other virtual hosts!

On 21/01/07, Alessandro Ilardo <alessandro.ilardo@my-sandro.net> wrote:
Hi there,
I can't run any virtual host except for the default.

    code:
    ------------------------------------------------------------------------


    NameVirtualHost *:80

    <VirtualHost *:80>
         ServerName linux.domain.com
         DocumentRoot /var/www/html
    </VirtualHost>
    <VirtualHost *:80>
         ServerName domain-lab.eu
         ProxyRequests off
         ProxyPass / http://saturn.domain.com/domain-lab/
         ProxyPassReverse / http://saturn.domain.com/domain-lab/
    </VirtualHost>
    <VirtualHost *:80>
         ServerName my-domain.net
         ProxyRequests off
         ProxyPass / http://saturn.domain.com/domain-lab/
         ProxyPassReverse / http://saturn.domain.com/domain-lab/
    </VirtualHost>

    ------------------------------------------------------------------------


Using the the configuration above I always get the first virtual host
document root

Any help is apreciate.
Thanks

---------------------------------------------------------------------
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




--
Steve Swift
http://www.swiftys.org.uk ------=_Part_40745_30566313.1169452918664--