Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 74771 invoked from network); 21 Jun 2004 14:38:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Jun 2004 14:38:40 -0000 Received: (qmail 37327 invoked by uid 500); 21 Jun 2004 14:37:48 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 36518 invoked by uid 500); 21 Jun 2004 14:37:35 -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 35941 invoked by uid 99); 21 Jun 2004 14:37:24 -0000 Received: from [209.99.46.80] (HELO visionxtreme.net) (209.99.46.80) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 21 Jun 2004 07:37:23 -0700 Received: from [127.0.0.1] (mail.tri-austin.com [209.99.46.66]) by visionxtreme.net (8.12.8/8.12.8) with ESMTP id i5LEcVXZ004223 for ; Mon, 21 Jun 2004 09:38:31 -0500 Message-ID: <40D6F296.5070300@visionxtreme.net> Date: Mon, 21 Jun 2004 09:37:10 -0500 From: Jason Whitson User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@httpd.apache.org References: <40D6EED0.4030908@visionxtreme.net> <001401c4579b$a02d7ea0$ce8f5bd1@test.com> In-Reply-To: <001401c4579b$a02d7ea0$ce8f5bd1@test.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked Subject: Re: [users@httpd] mod_vhost_alias problems X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N It partially works... When I type in an address such as 'jason.domain.com' I get a DNS error page (Internet Exploder 'Page Cannot be displayed'). When I type in 'domain.com' I actually get the content that is located in /www/websites/domain.com. If I check the logs, the request for domain.com shows up, but nothing else. I have 4 directories under the /www/websites directory and they all follow the correct naming convention (jason.domain.com, joe.domain.com, etc..). For some reason it just doesn't work. As for DNS, I have 'NS' records, and 2 'A' records for www.domain.com and domain.com. So I don't think that is the problem, but I could be wrong. Does that help at all? Thank You, - Jason Tim Burden wrote: > What's not working? What happens, and what ends up in the logs? > > ----- Original Message ----- > From: "Jason Whitson" > To: > Sent: Monday, June 21, 2004 10:21 AM > Subject: [users@httpd] mod_vhost_alias problems > > > >>System: >>RedHat 9.0 >> >>Apache: >>2.0.48 >> >>Loaded Modules: >>libphp4.so, mod_vhost_alias.so, mod_rewrite.so >> >>Config Snippet: >> >>VirtualDocumentRoot /www/websites/%0 >>ServerAdmin admin@domain.com >>ServerName www.domain.com >>ServerAlias domain.com >>DirectoryIndex index.php >>LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon >>CustomLog logs/domain.com_log vcommon >> >> >>Explanation: >>The whole reason I went with mod_vhost_alias was to avoid having to add >>an 'A' DNS record for every single sub domain that I created. After >>looking around for a day or so, I came across this module and it looked >>as if it could do that. >> >>Problem: >>I want to serve up sub domains of the address domain.com such as: >>jason.domain.com from the DIR /www/websites. From what I understand, all >>I have to do is name my directory jason.domain.com and everything will >>work, however this is not working. >> >>Ideas?: >>I have UseCanonicalName set to 'Off'. I am NOT using a NameVirtualHost >>directive. I have other 'normal' virtual host on the server using >>different IP's and dir structures. >> >>Thanks for taking the time to give this a look. >> >>- Jason >> >> >>--------------------------------------------------------------------- >>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 >> > > > > --------------------------------------------------------------------- > 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 > --------------------------------------------------------------------- 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