>>On Oct 25, 2006, at 1:34 PM, Andy Triboletti wrote:
>>
>> In my webapp, I want all ssl requests to go to the https port, not
the
>> http port.  Right now, if I follow a link to a secure page, the
>> web.xml security constraint makes the request https, but it keeps the
>> port as http (8080).  I then get an error " The URL contains escaped
>> bytes unsupported by the UTF-8 encoding."  If I manually change the
>> https port in the url to 8443 the request goes through.  Is there a
>> way to do this with resin.conf or web.xml?  I don't want to change
the
>> links to hardcode the port cause we only use 8080/8443 in development
>> (in production with 80/443 it works ok as the ports aren't included
in
>> the url)

>There's a <secure-host-name> as a child of <host> which will do what  
>you want:
>
><host id="">
>   <secure-host-name>https://foo.com:8443</secure-host-name>
>
>-- Scott

I think Resin expects you to just configure it as:

<secure-host-name>foo.com:8443</secure-host-name>

If you put the protocol in there, you will get redirected to
https://https://foo.com:8443 (at least in Resin Pro 3.0.19.


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to