Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 94339 invoked by uid 500); 10 Sep 2002 05:09:49 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 94328 invoked from network); 10 Sep 2002 05:09:49 -0000 Received: from mailscan1.is.depaul.edu (HELO mailscan1) (140.192.20.70) by daedalus.apache.org with SMTP; 10 Sep 2002 05:09:49 -0000 Received: FROM students.depaul.edu BY mailscan1 ; Tue Sep 10 00:09:57 2002 -0500 Date: Tue, 10 Sep 2002 00:09:59 -0500 (CDT) From: Tony Lavoie To: users@httpd.apache.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] Help with VirtualHost config Hello all, A seemingly simple configuration is eluding me.. maybe because I'm not understanding everything, maybe because something outside of apache isn't working and I'm not seeing any error about it. Anyway, first off, my configuration: apache 1.3.26 on Linux (2.4 kernel), static IP goes to my firewall/nat, which forwards :80 to the box (which is a 192.168. IP on the LAN). The static IP has a DNS name, and I also have a dyndns.org name which resolves to the static IP. The main configuration (before mucking with vhosts) correctly served pages out of aliased directories, some of which were restricted for access to other LAN 192.168 IP's. What I'd *like* to work (but have not had complete success with thus far): Have requests looking for the dyndns.org name use one of the aliased directories as document root... ...but requests using the static IP, LAN IP, or ISP's DNS name to use the main configuration. So far, I can get it to do either of those, but only in mutual exclusion. The only real changes I had done to my httpd.conf from when it was working before was to add: NameVirtualHosts * ... ServerName What I think I understood from the docs, FAQ, etc was that requests matching something.dyndns.org would use that configuration, and everything else would fall under the _default_, which with no enclosed info was just the main server config. Could someone please point out where I went wrong? Much Appreciated, -Tony --------------------------------------------------------------------- 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