ServerAlias wildcard clobbers another site..
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Web Servers on Unix and Linux > ServerAlias wildcard clobbers another site..




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    ServerAlias wildcard clobbers another site..  
fuser9bb@HotPOP.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-22-04 07: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.






[ Post a follow-up to this message ]



    Re: ServerAlias wildcard clobbers another site..  
fuser9bb@HotPOP.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-30-04 10: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.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:11 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register