Re: Tomcat6 - Context - aliases

2012-04-02 Thread Teppei Yamada
Hi, Can I ask you some questions? 1. What version of Tomcat7 did you test? 2. Where do you place context.xml in Tomcat6? I don't know you are aware that context.xml placed in yourwebapp/META-INF/context.xml is automatically copied to TOMCAT_HOME/conf/Catalina/(hostname(usually localhost)/yourap

Implementing mod_headers for response in Tomcat7

2012-04-01 Thread Teppei Yamada
Hi, I wanted to write something similar to apache httpd's mod_headers so I read through Tomcat7.0.26 source code. Then I realized that that could not be achieved without modifying coyote's Abstract(Http11|Ajp)Processor.prepareResponse(). That can never be done by Valve because some HTTP headers a

Secure attribute of Catalina SSL Connector(APR)

2012-03-31 Thread Teppei Yamada
Hi, I don't want every session cookies to be secure cookies, so I intentionally set secure attribute "false" in server,xml's SSL connector tag. (Actually tomcat native is compiled with OpenSSL and LD_LIBRARY_PATH is set, so the SSL connector is using APR in my case.) But even though doing above,