Tuesday, May 8, 2007

Re: [BLUG] Sub domains in Apache

mod_vhs

Its just for that purpose. It has a pretty active community too.

On Wed, May 09, 2007 at 03:38:19AM GMT, Weldon Sams [wsams@indiana.edu] said the following:
> Hey blug'ers, I have a question for you. Does anyone have experience setting
> up sub-domains in Apache? Here's what I would like to happen.
>
> Let's say with my domain wsams.org I would like to have say 3 sub-domains --
> say linux, gentoo and mac.
>
> I would like to have the setup where my home directory contains as many
> directories as I want, but as soon as I put the directory html inside one of
> those directories, that original directory becames a sub-domain.
>
> The idea sould be to have
>
> /home/wsams/linux/html --->

http://linux.wsams.org
> /home/wsams/gentoo/html --->

http://gentoo.wsams.org
> /home/wsams/mac/html --->

http://mac.wsams.org
>
> Also, the server should not have to be restarted. So say I create the
> directory
>
> /home/wsams/foobar/html
>
> I would have the sub-domain http://foobar.wsams.org
>
> Does anyone know how to set this up easily. I just can't figure out what to
> search for.
>
>
> --
> Weldon Sams
> wsams@indiana.edu

--
Mark Krenz
Bloomington Linux Users Group
http://www.bloomingtonlinux.org/
_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug

No comments: