users@glassfish.java.net

Re: URL - domain redirection with 301

From: <glassfish_at_javadesktop.org>
Date: Tue, 19 Jan 2010 07:07:09 PST

Hi, i'm having a problem with Glassfish v2.1.1 ((v2.1 Patch06)(9.1_02 Patch12)) (build b31g-fcs) according to this issue.

I had a redirect in Glassfish v2.1 (didn't remember the build) on a virtual server listening the domain "domainwithoutwww.com":

<property name="redirect_1" value="from=/ url-prefix=http://www.domainwithoutwww.com" />

But with Glassfish v2.1.1 the redirect doesn't work and I see the glassfish welcome page (Your GlassFish Enterprise Server is now running...).

Any idea?
[Message sent by forum member 'kienvaser' (kienvaser_at_gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=381707