You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by cuek saja <cu...@yahoo.com> on 2004/06/11 06:10:55 UTC

redirecting from apache root causes "no host matches server name" error

I have /myapp/ in apache(2) mapped to tomcat(5) using
mod_jk2.  So when I go to http://www.mine.com/myapp
everything is as it should be.

however, I would like to be able to set it up so that
I can just go to http://www.mine.com/

I tried using the redirect directive like so:

Redirect ^/$ http://www.mine.com/myapp/
Redirect ^$ http://www.mine.com/myapp/

but that left me with a the browser saying:

"No Host matches server name" 

Can't find any errors in the logs though.

Now, i'm at a loss.  

Any suggestions ?


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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