This is my first time using a mailing list, so hopefully I'm doing this right. I 
assume the same basic rules as usenet--text only, no attachments, bottom post, etc?

Okay, my problem: I've set up Tomcat 4.1.30 for secure access via SSL. Unsecure port 
is 8080, secure port is 8081. I use Tomcat for J2EE application development, and the 
problem is related to that. Using basic authentication, things work fine. When I move 
from an unsecure to a secure area of my application, the dialog box pops up and upon 
entering the correct user/password, I'm redirected to the secure port. However, if I 
change to form based authentication, when trying to send me to the form, it sends me 
to the unsecure port using https. In other words:
https://localhost:8080/secureApp/login.jsp

It should be sending me to 8081. Any clue why this would happen? My connectors in 
server.xml are below. If you need other info, just ask.

    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" acceptCount="100" 
bufferSize="2048" compression="off" connectionLinger="-1" connectionTimeout="20000" 
connectionUploadTimeout="300000" debug="0" disableUploadTimeout="true" 
enableLookups="true" maxKeepAliveRequests="100" maxProcessors="75" minProcessors="5" 
port="8080" protocolHandlerClassName="org.apache.coyote.http11.Http11Protocol" 
proxyPort="0" redirectPort="8081" scheme="http" secure="false" serverSocketTimeout="0" 
tcpNoDelay="true" tomcatAuthentication="true" useBodyEncodingForURI="true" 
useURIValidationHack="false">
      <Factory className="org.apache.catalina.net.DefaultServerSocketFactory"/>
    </Connector>
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" acceptCount="10" 
bufferSize="2048" compression="off" connectionLinger="-1" connectionTimeout="20000" 
connectionUploadTimeout="300000" debug="0" disableUploadTimeout="false" 
enableLookups="true" maxKeepAliveRequests="100" maxProcessors="75" minProcessors="5" 
port="8009" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" 
proxyPort="0" redirectPort="8081" scheme="http" secure="false" serverSocketTimeout="0" 
tcpNoDelay="true" tomcatAuthentication="true" useBodyEncodingForURI="true" 
useURIValidationHack="false">
      <Factory className="org.apache.catalina.net.DefaultServerSocketFactory"/>
    </Connector>
    <Connector className="org.apache.catalina.connector.http.HttpConnector" 
port="8081" minProcessors="5" maxProcessors="75" enableLookups="true" acceptCount="10" 
debug="0" scheme="https" secure="true">
        <Factory className="org.apache.catalina.net.SSLServerSocketFactory" 
clientAuth="false" keystoreFile=".keystore" protocol="TLS"/>
    </Connector>

___________________________________________________
Check-out GO.com
GO get your free GO E-Mail account with expanded storage of 6 MB!
http://mail.go.com



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

Reply via email to