Archive for the ‘apache’ Category

Using apache to redirect from the root “/” context to a webapp context

Posted in: apache, java, open source, tomcat.

Just a short note:

The best way of doing this avoiding endless recursion is to use apaches RedirectMatch rule, like this:


RedirectMatch ^/$ http://targethost/mywebapp

Easy, agreed. But i’ve seen (and done it wrong my self) quite often…

No Comments