[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: [cobalt-users] [Raq2] DNS Wildcards - redirection to Rootdirectory



> yes there is a virtual host container which looks like that:
>
> <VirtualHost www.yet.ch>
> ServerAlias mydomain.com *.my.domain.com
> ServerAdmin info@xxxxxx
> DocumentRoot /home/sites/site20/web
> ServerName *.mydomain.com
> #ErrorLog logs/host.some_domain.com-error_log
> #TransferLog logs/host.some_domain.com-access_log
> </VirtualHost>
>
>
IMHO that is not going to work;
You may be able to get it to work using a SSI to determine where
to get the html pages. There is a SSI script around someplace
called truevirtual, try searching google.
It uses a flat file database to determine where to direct the wildcard
access. You populate the database. index.shtml, hrads the database and does
the redirect.

Gerald