Hello. I've connected my apache with mod_jk2 to two tomcat instances (localhost and remote, using tcp/ip socket).
But now i want to connect with mod_jk2 to the remote tomcat with apache+mod_ssl. So far the apache + mod_ssl are working pretty fine. I can access, on the remote tomcat, the first page with ssl. The problem comes when i try to access one password protected page (have to send some POST). The apache returns me " Bad Request Your browser sent a request that this server could not understand. Reason: You're speaking plain HTTP to an SSL-enabled server port. Instead use the HTTPS scheme to access this URL, please. Hint: https://CxnCDOLRH01/ Apache/2.0.44 (Unix) mod_ssl/2.0.44 OpenSSL/0.9.6b mod_jk2/2.0.0 PHP/4.3.1 Server at CxnCDOLRH01 Port 443 " CxnCDOLRH01 is my apache server. I use the following server.xml on the remote tomcat. <Server port="8001" shutdown="SHUTDOWN" debug="0"> <Service name="Tomcat-Standalone"> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8443" minProcessors="5" maxProcessors="75" enableLookups="true" acceptCount="10" debug="0" scheme="https" secure="true" connectionTimeout="20000" useURIValidationHack="false" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" /> <Engine name="Standalone" defaultHost="localhost" debug="0"> <Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".txt" timestamp="true"/> <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true"> <Context path="/cgi-bin" docBase="ROOT.war" debug="0"/> <Context path="" docBase="../../../httpd/docs" debug="0"/> </Host> </Engine> </Service> </Server> And the mod_jk2 workers2.properties is : #---- workers2.properties # Shared memory handling. Needs to be set. [shm] file=/usr/local/apache2/logs/shm.file size=1048576 [channel.socket:172.16.64.20:8443] port=8443 host=172.16.64.20 [ajp13:172.16.64.20:8443] channel=channel.socket:172.16.64.20:8443 [uri:/cgi-bin/*] worker=ajp13:172.16.64.20:8443 [uri:/images/*] worker=ajp13:172.16.64.20:8443 [uri:/caixagest/*] worker=ajp13:172.16.64.20:8443 #Localhost [channel.socket:localhost:8009] port=8009 host=127.0.0.1 [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/examples/*] worker=ajp13:localhost:8009 # [uri:/status/*] # worker=status:status #---- end of workers2.properties Can someone give me some kind of exampes with ajp13 and ssl, on mod_jk2 ? Thanks, //VD --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
