> Hello
> 
> Somehow tomcat will not redirect requests to pages under a security constraint to 
> https.
> Instead i get an "HTTP 500 Internal Server Error"
> 
> In my server.xml the two connectors look like this :
> 
> <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8081 -->
> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8080" 
> minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="8443" 
> acceptCount="100" debug="0" connectionTimeout="20000" useURIValidationHack="false" 
> disableUploadTimeout="true" />
>                
> <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8443" 
> minProcessors="5" maxProcessors="75" enableLookups="true" acceptCount="100" 
> debug="0" scheme="https" secure="true" useURIValidationHack="false" 
> disableUploadTimeout="true">
> <Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory" 
> clientAuth="false" protocol="TLS" />
> </Connector>
> 
> And my security constraint looks like this in the web.xml file :
>       
>       <security-constraint>
>               <web-resource-collection>
>                       <web-resource-name>Secure Zone</web-resource-name> 
>                       <url-pattern>/*</url-pattern>                   
>               </web-resource-collection>
>               <user-data-constraint>
>                       <transport-guarantee>INTEGRAL</transport-guarantee>
>               </user-data-constraint>         
>       </security-constraint>
> 
> And even though i get the HTTP 500 error the server will not redirect to my error
> page that i have define like this :
> 
>       <error-page>
>               <error-code>500</error-code> 
>               <location>/action_error.jsp</location> 
>       </error-page>
> 
> Please help
> 
> regards
> Abid

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to