2 Replies Latest reply on Mar 14, 2007 1:37 PM by bobsquarepants

    Accessing Clearspace via Apache 2

      I have a question, not sure this is the right forum, but I was wondering if anyone has Clearspace running with the Tomcat mod_jk connector through Apache 2?  I'm a newbie to Apache and Tomcat, if someone is doing this if they could show me an example of their workers.properties and httpd.conf files, or point me the right direction of easily setting this up.

       

      Thanks!

        • Re: Accessing Clearspace via Apache 2

          hi Bob,

           

          I don't have Clearspace running with Tomcat / Apache 2, but I do have a number of Java apps running on my personal server with Tomcat / Apache 2, which shouldn't be very different. Here's a sample that would probably work:

           

          workers.properties


          worker.list=worker1

          worker.worker1.type=ajp13

          worker.worker1.host=localhost

          worker.worker1.port=8009

          worker.worker1.lbfactor=50

          worker.worker1.cachesize=10

          worker.worker1.cache_timeout=600

          worker.worker1.sock_keepalive=1

          worker.worker1.socket_timeout=300


           

          httpd.conf


          ...

          <VirtualHost xxx.xxx.xxx.xxx>

             ServerAdmin webmaster@yoursite

             ServerName example.com

             ServerAlias *.example.com

             DocumentRoot /usr/local/tomcat/webapps/example.com/

           

             JkMount /* worker1

           

             <Location "/WEB-INF/">

                AllowOverride None

                deny from all

             </Location>

             ...

          </VirtualHost>

           


           

          Let us know if something like that works!

           

          Cheers,

           

          AJ