I've googled around and only found solution where they suggest putting an apache httpd in front of glassfish. Sure, that works.
But what if I do not wish to/cannot put any thing in front of glassfish?
Without using the index.jsp in the docroot of the domain to have something like:
<%
String redirectURL = "http://stackoverflow.com/";
response.sendRedirect(redirectURL);
%>
Can I make browser to be redirected when I point it to: http://my.glassfish.domain/ ?
To provide a little bit more details:
I tried adding a property to the vitual server as: redirect_1 from=/ url=http://stackoverflow.com/ But that make everything to be redirected to http://stackoverflow.com/, eg. http://my.glassfish.domain/myapp redirects to http://stackoverflow.com/ while all I want was http://my.glassfish.domain/ to be redirected to http://stackoverflow.com/
Any help please?