<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Alfreso with Apache + Tomcat in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfreso-with-apache-tomcat/m-p/214071#M167201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Firstly apologies if this has been covered elsewhere already. I've looked and the only documents I can find are from a few years back – none of which seem to do what I want to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got Alfreso working from the Windows Tomcat packaged ZIP (filename: &lt;/SPAN&gt;&lt;EM&gt;alfresco-community-tomcat-3.2.zip&lt;/EM&gt;&lt;SPAN&gt;). This is on a clean Windows 2003 server install. On the same box I also have Apache running as expected as serving pages for all requests on port 80.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However I can't find any reliable documentation for exactly how I can get mod_jk to work so all requests are first handled by Apache. I got as far as installing the mod_jk module in Apache but the auto configuration of the mod_jk.conf within Tomcat doesn't seem to work – at which point I'm stuck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mayuresh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Oct 2009 09:35:25 GMT</pubDate>
    <dc:creator>mayuresh</dc:creator>
    <dc:date>2009-10-13T09:35:25Z</dc:date>
    <item>
      <title>Alfreso with Apache + Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfreso-with-apache-tomcat/m-p/214071#M167201</link>
      <description>HiFirstly apologies if this has been covered elsewhere already. I've looked and the only documents I can find are from a few years back – none of which seem to do what I want to do.I've got Alfreso working from the Windows Tomcat packaged ZIP (filename: alfresco-community-tomcat-3.2.zip). This is on</description>
      <pubDate>Tue, 13 Oct 2009 09:35:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfreso-with-apache-tomcat/m-p/214071#M167201</guid>
      <dc:creator>mayuresh</dc:creator>
      <dc:date>2009-10-13T09:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Alfreso with Apache + Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfreso-with-apache-tomcat/m-p/214072#M167202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Exactly what is it that isn't working? Are there any errors in your Apache logs or mod_jk log?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A basic configuration would be pretty simple, something like this (it could be put in httpd.conf directly):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;IfModule !mod_jk.c&amp;gt;&lt;BR /&gt;&amp;nbsp; LoadModule jk_module "/usr/lib/httpd/modules/mod_jk.so"&lt;BR /&gt;&amp;lt;/IfModule&amp;gt;&lt;BR /&gt;&lt;BR /&gt;JkWorkersFile "conf/workers.properties"&lt;BR /&gt;JkLogFile "logs/mod_jk.log"&lt;BR /&gt;&lt;BR /&gt;JkMount /alfresco ajp13&lt;BR /&gt;JkMount /alfresco/* ajp13&lt;BR /&gt;&lt;BR /&gt;JkMount /share ajp13&lt;BR /&gt;JkMount /share/* ajp13&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;(of course, you need to make sure that the paths to the lib, conf and log files are correct for your system, I'm not sure how it looks in Windows, since I only work with Linux)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with a workers.properties file looking something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;worker.list=ajp13&lt;BR /&gt;# Set properties for worker1 (ajp13)&lt;BR /&gt;worker.ajp13.type=ajp13&lt;BR /&gt;worker.ajp13.host=localhost&lt;BR /&gt;worker.ajp13.port=8009&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;To enable ajp13 in Tomcat you only have to uncomment this connector in server.xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Connector port="8009" protocol="AJP/1.3" redirectPort="8443" URIEncoding="UTF-8" /&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, all requests to yourserver/alfresco and yourserver/share should be redirected to Tomcat by Apache.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2009 09:59:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfreso-with-apache-tomcat/m-p/214072#M167202</guid>
      <dc:creator>gronfelt</dc:creator>
      <dc:date>2009-10-13T09:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Alfreso with Apache + Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfreso-with-apache-tomcat/m-p/214073#M167203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks very much - it worked first time. I think I'd messed up the workers.property file and its location when I first tried it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mayuresh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2009 11:10:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfreso-with-apache-tomcat/m-p/214073#M167203</guid>
      <dc:creator>mayuresh</dc:creator>
      <dc:date>2009-10-13T11:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Alfreso with Apache + Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfreso-with-apache-tomcat/m-p/214074#M167204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello again&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now that I've Apache and Tomcat working together I'm trying to take it to the next step but failing. The key thing I need to do is apply a self-signed certificate to Share. In order to do this I have Apache configured with openssl and have also generated the required certificate and private key.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I'm really struggling to get vhosts running on Apache and without that can't quite proceed to enabling the certificate. Would really appreciate if you could post the necessary configs for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mayuresh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 12:28:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfreso-with-apache-tomcat/m-p/214074#M167204</guid>
      <dc:creator>mayuresh</dc:creator>
      <dc:date>2009-10-15T12:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Alfreso with Apache + Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfreso-with-apache-tomcat/m-p/214075#M167205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, a very basic virtual host setup is just something like this (in httpd.conf):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;NameVirtualHost *:443&lt;BR /&gt;&lt;BR /&gt;&amp;lt;VirtualHost *:443&amp;gt;&lt;BR /&gt;ServerName domain.com&lt;BR /&gt;JkMount /* worker1&lt;BR /&gt;SSLCertificateFile /etc/pki/tls/certs/ca.crt&lt;BR /&gt;SSLCertificateKeyFile /etc/pki/tls/private/ca.key&lt;BR /&gt;SSLEngine on&lt;BR /&gt;&amp;lt;/VirtualHost&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;(The cert locations needs to be changed to the real locations)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course, this is a very basic setup, it could be more advanced if more functionality is needed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 13:32:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfreso-with-apache-tomcat/m-p/214075#M167205</guid>
      <dc:creator>gronfelt</dc:creator>
      <dc:date>2009-10-15T13:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Alfreso with Apache + Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfreso-with-apache-tomcat/m-p/214076#M167206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, that worked. I was doing something similar with vhosts on port 80 to get things rolling but for some reason it wasn't having it. It works fine now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Having said that, I'm now struggling with the IE bug where it keeps warning of insecure content over SSL - thanks to the images embedded. I thought this issue had been fixed (I only downloaded the community version) last week but doesn't look like it has been so far.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mayuresh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 14:53:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfreso-with-apache-tomcat/m-p/214076#M167206</guid>
      <dc:creator>mayuresh</dc:creator>
      <dc:date>2009-10-15T14:53:26Z</dc:date>
    </item>
  </channel>
</rss>

