You could create two virtual hosts, one 'default' that displays some
error page and one for your domain that displays the app.

Kees

On Fri, Jan 23, 2009 at 10:52, Jaakko Taipale
<jaakko.taip...@dbmanager.fi> wrote:
> I have specified domain eg. www.myapp.com and I have tomcat running my
> machine that have IP address 123.123.123.123. Now I can access to my app
> with two address:
>
> http://www.myapp.com/myapp or
> http://123.123.123.123/myapp
>
> How can I prevent tomcat to response when somebody is trying to access with
> direct ip?
>
> --
> Jaakko
>

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

Reply via email to