Cascade 6 and mod_proxy instead of mod_jk

racooper's Avatar

racooper

31 Jul, 2012 10:24 PM

I have just upgraded our test server from CentOS 5.8 to CentOS 6.2 and found that mod_jk has been deprecated for the newer version of Apache (2.2.15). Is there documentation on using mod_proxy and mod_proxy_ajp for connecting Apache to Cascade?

  1. 1 Posted by Ryan Griffith on 20 Aug, 2012 01:55 PM

    Ryan Griffith's Avatar

    Hi Robert,

    Apologies for the late response. Were you able to find information you were looking for and get Cascade to run behind either mod_proxy or mod_proxy_ajp?

    We do not currently have documentation that discusses running Cascade behind these two modules; however, I was able to find a few articles that described setting up a Tomcat Application to run behind Apache with mod_proxy or mod_proxy_ajp, they may be able to point you in the right direction:

    Please let us know if you have any questions.

    Thanks.

  2. Ryan Griffith closed this discussion on 27 Aug, 2012 02:07 PM.

  3. racooper re-opened this discussion on 08 Feb, 2013 03:36 PM

  4. 2 Posted by racooper on 08 Feb, 2013 03:36 PM

    racooper's Avatar

    Notes for anyone else who finds this:
    in server.xml, either uncomment or add the following in the section:

        <!-- Define an AJP 1.3 Connector on port 8009 -->
        <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" maxProcessors="256" tomcatAuthentication="false" />
    

    and in your apache config:

    #  Tomcat connector
    ProxyRequests off
    <Proxy *>
    Order deny,allow
    Allow from all
    </Proxy>
    
    # change the authentication for your environment
    #    <Location />
    #       AuthType CAS
    #        AuthName "Cascade"
    #        require valid-user
    #    </Location>
    
    ProxyPass / ajp://localhost:8009/
    ProxyPassReverse / http://cms.example.com:8009/
    # End Tomcat connector
    

    This is working for me on Cascade 7.0.x.

  5. 3 Posted by Ryan Griffith on 08 Feb, 2013 05:39 PM

    Ryan Griffith's Avatar

    Great information, thank you for sharing Robert.

    Have a great day!

  6. Ryan Griffith closed this discussion on 08 Feb, 2013 05:39 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac