2012/5/31 Timothy J Schumacher <tim.schumac...@colorado.edu>:
> Hi,
>
> We are using Apache Tomcat 6.0.35
>
> with
>
> # java -version
> java version "1.6.0_30"
> Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
> Java HotSpot(TM) Client VM (build 20.5-b03, mixed mode, sharing)
>
> in redhat linux.
>
> I am wondering if there is a way to use transport CONFIDENTIAL for all hosts
> that are not localhost?  I am guessing the servlet spec does not allow this,
> it seems to be all or none in the web.xml config.  Perhaps there is a way
> configure transport NONE in web.xml and then manually configure a
> valve/filter in context.xml that would enforce CONFIDENTIAL to all remote
> hosts but let localhost pass without redirects to port 443?
>
> Any ideas are appreciated!
>

<Connector ... address="127.0.0.1" secure="true" />

It will
1. Listen on localhost only.
2. Be treated by Tomcat as if it were an HTTPS connection.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to