|
Home > Archive > Web Servers on Unix and Linux > December 2004 > ServerAlias wildcard clobbers another site..
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
ServerAlias wildcard clobbers another site..
|
|
| fuser9bb@HotPOP.com 2004-12-22, 2:46 am |
| I have a domain domain.com. For this domain I have two different
sites. One is serv.domain.com and the other is anything other than
serv.domain.com:
<VirtualHost www.domain.com>
ServerName serv.domain.com
...
</VirtualHost>
<VirtualHost www.domain.com>
ServerName www.domain.com
ServerAlias *.domain.com
ServerAlias domain.com
...
</VirtualHost>
I had hoped that site.domain.com would work in this configuration, but
when I use this configuration everything www.domain.com goes to
serv.domain.com, etc.
Is it possible to have one vhost container with a ServerAlias wildcard
entry, and another vhost that contains a specific website with the
same domain?
I am using Apache 1.3.
P.S. I posted this to comp.infosystems.www yesterday, but just
realized that comp.infosystems.www.servers.unix is more appropriate.
| |
| fuser9bb@HotPOP.com 2004-12-30, 5:52 pm |
| I assume then that there is no way to fix this?
On Tue, 21 Dec 2004 20:47:49 -0600, fuser9bb@HotPOP.com wrote:
>I have a domain domain.com. For this domain I have two different
>sites. One is serv.domain.com and the other is anything other than
>serv.domain.com:
>
><VirtualHost www.domain.com>
> ServerName serv.domain.com
> ...
></VirtualHost>
>
><VirtualHost www.domain.com>
> ServerName www.domain.com
> ServerAlias *.domain.com
> ServerAlias domain.com
> ...
></VirtualHost>
>
>
>I had hoped that site.domain.com would work in this configuration, but
>when I use this configuration everything www.domain.com goes to
>serv.domain.com, etc.
>
>Is it possible to have one vhost container with a ServerAlias wildcard
>entry, and another vhost that contains a specific website with the
>same domain?
>
>I am using Apache 1.3.
>
>P.S. I posted this to comp.infosystems.www yesterday, but just
>realized that comp.infosystems.www.servers.unix is more appropriate.
|
|
|
|
|