httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Burden" <...@burden.ca>
Subject Re: [users@httpd] mod_vhost_alias problems
Date Mon, 21 Jun 2004 14:25:38 GMT
What's not working? What happens, and what ends up in the logs?

----- Original Message ----- 
From: "Jason Whitson" <jason@visionxtreme.net>
To: <users@httpd.apache.org>
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:
> <VirtualHost 210.50.40.80>
> 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
> </VirtualHost>
>
> 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 <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
>


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


Mime
View raw message