Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 32859 invoked from network); 27 Sep 2006 22:53:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Sep 2006 22:53:43 -0000 Received: (qmail 81893 invoked by uid 500); 27 Sep 2006 22:53:35 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 81458 invoked by uid 500); 27 Sep 2006 22:53:34 -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 81439 invoked by uid 99); 27 Sep 2006 22:53:33 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Sep 2006 15:53:33 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=richard_devries@yahoo.com; spf=permerror Authentication-Results: idunn.apache.osuosl.org header.from=richard_devries@yahoo.com; domainkeys=good X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS Received-SPF: error (idunn.apache.osuosl.org: domain yahoo.com from 209.191.85.77 cause and error) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [209.191.85.77] ([209.191.85.77:44945] helo=web36909.mail.mud.yahoo.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 79/80-03285-BE00B154 for ; Wed, 27 Sep 2006 15:53:33 -0700 Received: (qmail 66734 invoked by uid 60001); 27 Sep 2006 22:53:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=k6/OJ9G4P/D1cwWUA1lXYDhcoeOZwl9rsDW8WQuXqx1xz+/pFPJ2a6xuFHk0p4uWk40B8IOW+IDzX1NSzvuBO/ZXhXNwvwiJHdIUEkUhwNbo9b+yIbGRLO4qouCyeBcKMfULFiQ/OE0+sA3xBl3o4rrHn/hNTYGbHiDY9l11OC4= ; Message-ID: <20060927225329.66732.qmail@web36909.mail.mud.yahoo.com> Received: from [198.207.223.237] by web36909.mail.mud.yahoo.com via HTTP; Wed, 27 Sep 2006 15:53:29 PDT Date: Wed, 27 Sep 2006 15:53:29 -0700 (PDT) From: Richard de Vries To: users@httpd.apache.org In-Reply-To: <953B5FE241B730419A9235ADC6E0AE6F0A05922B@OMPPRMAEXS1.na.jnj.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: [users@httpd] Previewing a Virtual Host before server name is available in DNS X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I know my hosting provider puts the document root for the virtual host in the document root of the main host. So I can look at it via http://mainhost.domain.com/. Personally I don't like this at all. You could also create a /etc/host file entry on the server running your virtual host, configure an Apache proxy server on that host (different port) and configure that proxy to forward all the requests to your new virtual host, at which time it will utilize the alias in your /etc/hosts file. --- "Amador, Orlando M. [OBIPR]" wrote: > I have configured 2 virtual host in the http.conf > file. Both are working > fine since we have configured the DNS server to > point to the apache server. > We need to configure a 3rd virtual host, but can't > change the DNS to point > to our apache server until it is approved. > > So the question is how we configure the new virtual > host so it is visible > without DNS? > > This is the same to what a web hosting company will > do. One can preview the > website under some URL of the main server. > > For example if the real server is named > www.server1.com and the new virtual > host is for www.server2.com, then one could type > something like > www.server1.com/server2 or similar and view the file > from the virtual host > (server2) instead. > > I read the virtual hosting documentation and did not > find anything in this > subject. I though that maybe "ServerPath" could do > the trick, but id did > not work. Tried to set serverpath to "/server2/" > and the requested > www.server1.com/server2/ but it only complains that > the URL was not found. > > I understand that we can set an entry in the host > file to map the virtual > host name to an IP, but this is not practical since > we need to have several > people in different workstations looking at this. > > How to the web hosting companies accomplish this? > is it just with Apache or > is it something else? > > Any suggestions? > > This is for Apache 2.0.52 running on Linux. > > Saludos, > Orlando > > Orlando M. Amador > Technology Lead > Ortho Biologics LLC > oamador@obipr.jnj.com > (787) 854-1800 x2294 > > Confidentiality Notice: This e-mail transmission may > contain confidential or > legally privileged information that is intended only > for the individual or > entity named in the e-mail address. If you are not > the intended recipient, > you are hereby notified that any disclosure, > copying, distribution, or > reliance upon the contents of this e-mail is > strictly prohibited. If you > have received this e-mail transmission in error, > please reply to the sender, > so that Johnson & Johnson can arrange for proper > delivery, and then please > delete the message from your inbox. Thank you. > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- 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