users@glassfish.java.net

Re: redirect_n => This web page has a redirect loop

From: José Luis Cetina <maxtorzito_at_gmail.com>
Date: Thu, 7 Mar 2013 06:55:58 -0600

example.com and www.example.com are the same Thats why you have a loop, you
are sending to the same page again and again.

I have this kind of configuration (when user dont use www, just "append to
the url") in my apache server.
IIRC you can set the same in glassfish with a virtual server or vietual
host.
El 07/03/2013 06:25, "AlonaSoftEng" <alona.software.eng_at_gmail.com> escribió:

> Hello,
>
> I've deployed web site with <context-root>/</context-root>
> I would like my website example.com will redirect to www.example.com
>
> I've added <property name="redirect_1" value="from=
> url-prefix=http://www.example.com"></property>
>
> But when I try to load example.com or www.example.com I get the error
> "This
> web page has a redirect loop"
>
> What can I did wrong?
>
> I'm using glassfish 3.1.2.2
>
> Thanks,
> Alona
>
>
>
>
>
> --
> View this message in context:
> http://glassfish.10926.n7.nabble.com/redirect-n-This-web-page-has-a-redirect-loop-tp87558.html
> Sent from the GlassFish Users mailing list archive at Nabble.com.
>