You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Peter McNeil <pe...@mcneils.net> on 2010/02/14 03:33:29 UTC

not working for me in Tomcat 6.0.24

G'day,

I have the following Host setup in server.xml:-
    ...
<Host name="cjugaustralia.org" appBase="cjugapps"
             unpackWARs="true" autoDeploy="true"
             xmlValidation="false" xmlNamespaceAware="false">
<Alias>www.cjugaustraila.org</Alias>
<Valve className="org.apache.catalina.valves.AccessLogValve" 
directory="logs"
                prefix="cjug_access_log." suffix=".txt" pattern="common" 
resolveHosts="false"/>
</Host>
</Engine>

I can happily access http://cjugaustralia.org but 
http://www.cjugaustralia.org shows the default localhost apache tomcat 
page, so it seems to be completely ignoring the <Alias>

Any thoughts on what is happening here? BTW I have a few virtual host 
set up in this server.xml all work, but none have Alias tags.

Cheers,
Peter.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: not working for me in Tomcat 6.0.24

Posted by Peter McNeil <pe...@mcneils.net>.
On 14/02/10 14:38, Konstantin Kolinko wrote:
> 2010/2/14 Peter McNeil<pe...@mcneils.net>:
>    
>> On 14/02/10 13:58, Konstantin Kolinko wrote:
>>      
>>> 2010/2/14 Peter McNeil<pe...@mcneils.net>:
>>>
>>> Here is a patch for you:
>>> -<Alias>www.cjugaustraila.org</Alias>
>>> +<Alias>www.cjugaustralia.org</Alias>
>>>
>>>        
>> lol, you're suggesting that the whitespace in front of the tag is a problem?
>> happens to be a tab in this case, sure I prefer spaces but that should make
>> no difference... and, of course, it doesn't... thanks for coming in ;-)
>>      
> No, I am suggesting that  *LIA.ORG != *ILA.ORG
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>    
ROFL - I completely missed that so many times - thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: not working for me in Tomcat 6.0.24

Posted by Konstantin Kolinko <kn...@gmail.com>.
2010/2/14 Peter McNeil <pe...@mcneils.net>:
> On 14/02/10 13:58, Konstantin Kolinko wrote:
>>
>> 2010/2/14 Peter McNeil<pe...@mcneils.net>:
>>
>> Here is a patch for you:
>> -<Alias>www.cjugaustraila.org</Alias>
>> +<Alias>www.cjugaustralia.org</Alias>
>>

> lol, you're suggesting that the whitespace in front of the tag is a problem?
> happens to be a tab in this case, sure I prefer spaces but that should make
> no difference... and, of course, it doesn't... thanks for coming in ;-)

No, I am suggesting that  *LIA.ORG != *ILA.ORG

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: not working for me in Tomcat 6.0.24

Posted by Peter McNeil <pe...@mcneils.net>.
On 14/02/10 13:58, Konstantin Kolinko wrote:
> 2010/2/14 Peter McNeil<pe...@mcneils.net>:
>
> Here is a patch for you:
> -<Alias>www.cjugaustraila.org</Alias>
> +<Alias>www.cjugaustralia.org</Alias>
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>    
lol, you're suggesting that the whitespace in front of the tag is a 
problem? happens to be a tab in this case, sure I prefer spaces but that 
should make no difference... and, of course, it doesn't... thanks for 
coming in ;-)

Cheers,
Peter.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: not working for me in Tomcat 6.0.24

Posted by Konstantin Kolinko <kn...@gmail.com>.
2010/2/14 Peter McNeil <pe...@mcneils.net>:

Here is a patch for you:
-  <Alias>www.cjugaustraila.org</Alias>
+ <Alias>www.cjugaustralia.org</Alias>

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org