I would suggest to have JkMount lines above the rewriting rules in
httpd.conf
I have also had trouble, but not sure I eventually made it work
Regards
Aage Nielsen wrote:
No I took an binary download from
http://tomcat.edu.brock.dk/apache/jakarta/tomcat-connectors/jk/binaries/win32/jk-1.2.14/
Httpd.conf (as other modules):
LoadModule jk_module
modules/mod_jk.so
AddModule mod_jk.c
Regards
Aage Nielsen
------------------------------------
Vesterbrogade 8
DK-8800 Viborg
Denmark
Phone +45 87 25 50 83
Mobile +45 25 28 69 83
e-mail: [EMAIL PROTECTED]
But here you get an error 500. How do you get the
jk connector? Did
you compile it from
http://jakarta.apache.org/site/downloads/downloads_tomcat-connectors.cgi
sources?
Then how do you load the module in apache?
/P.
At 24.08.2005 15:20, you wrote:
>Simpel - it is empty :-)
>
>But maybe it something to do with the apj connector in Tomcat.
>
>Is this ok (workers.properties):
>
>worker.list=jahia
>worker.jahia.type=ajp13
>worker.jahia.host=localhost
>worker.jahia.port=8009
>worker.jahia.lbfactor=1
>
>and below from the conf/server.xml:
>
>........
>........
> <!-- Define a Coyote/JK2 AJP 1.3 Connector on port
8009 -->
> <Connector
className="org.apache.coyote.tomcat4.CoyoteConnector"
> port="8009"
minProcessors="5" maxProcessors="75"
> enableLookups="true"
redirectPort="8443"
> acceptCount="10"
debug="0" connectionTimeout="0"
> useURIValidationHack="false"
>
>protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
>
> <!-- Define an AJP 1.3 Connector on port 8009 -->
>
> <!-- <Connector
className="org.apache.ajp.tomcat4.Ajp13Connector"
> port="8009"
minProcessors="5" maxProcessors="75"
> acceptCount="10"
debug="0"/> -->
>
>
> <!-- Define a Proxied HTTP/1.1 Connector on port
8082 -->
> <!-- See proxy documentation for more information
about using this. -->
> <!--
> <Connector
className="org.apache.coyote.tomcat4.CoyoteConnector"
> port="8082"
minProcessors="5" maxProcessors="75"
> enableLookups="true"
> acceptCount="100"
debug="0" connectionTimeout="20000"
> proxyPort="80"
useURIValidationHack="false"
> disableUploadTimeout="true"
/>
> -->
>........
>........
>
>
>
>Regards
>Aage Nielsen
>------------------------------------
>Vesterbrogade 8
>DK-8800 Viborg
>Denmark
>
>Phone +45 87 25 50 83
>Mobile +45 25 28 69 83
>e-mail: [EMAIL PROTECTED]
>
>
>Philippe Vollenweider <[EMAIL PROTECTED]>
>
>24-08-2005 15:15
>Please respond to
><[email protected]>
>
>To
><[email protected]>
>cc
>Subject
>Re: URL rewrite and Apache Webserver
>
>
>
>
>Please also send your httpd error log
>
>At 24.08.2005 14:25, you wrote:
>
> >Hello,
> >
> >Below the entries in the access log from the webserver:
> >
> >127.0.0.1 - - [24/Aug/2005:14:16:36 +0200] "GET
/jahia/jsp/index.jsp
> >HTTP/1.1" 200 5
> >127.0.0.1 - - [24/Aug/2005:14:16:36 +0200] "GET /favicon.ico
> >HTTP/1.1" 404 289
> >127.0.0.1 - - [24/Aug/2005:14:16:44 +0200] "GET
> >/jahia/jsp/jahia/_javascript_/jahia.js HTTP/1.1" 500 610
> >127.0.0.1 - - [24/Aug/2005:14:16:44 +0200] "GET
>
>/jahia/jsp/jahia/templates/myjahiasite/corporate_portal_templates/w
> eb_css.jsp?colorSet=blue
> >HTTP/1.1" 500 610
> >127.0.0.1 - - [24/Aug/2005:14:16:44 +0200] "GET
>
>/jahia/jsp/jahia/templates/myjahiasite/corporate_portal_templates/j
> forum.css
> >HTTP/1.1" 500 610
> >127.0.0.1 - - [24/Aug/2005:14:16:44 +0200] "GET
>
>/jahia/jsp/jahia/templates/myjahiasite/corporate_portal_templates/menu.js
> >HTTP/1.1" 500 610
> >127.0.0.1 - - [24/Aug/2005:14:16:44 +0200] "GET
>
>/jahia/jsp/jahia/templates/myjahiasite/corporate_portal_templates/y
> pSlideOutMenu.js
> >HTTP/1.1" 500 610
> >127.0.0.1 - - [24/Aug/2005:14:16:44 +0200] "GET
>
>/jahia/jsp/jahia/templates/myjahiasite/corporate_portal_templates/i
> mages/logo.gif
> >HTTP/1.1" 500 610
> >127.0.0.1 - - [24/Aug/2005:14:16:44 +0200] "GET
>
>/jahia/jsp/jahia/templates/myjahiasite/corporate_portal_templates/i
> mages/pix.gif
> >HTTP/1.1" 500 610
> >127.0.0.1 - - [24/Aug/2005:14:16:44 +0200] "GET
>
>/jahia/jsp/jahia/templates/myjahiasite/corporate_portal_templates/i
> mages/search.gif
> >HTTP/1.1" 500 610
> >127.0.0.1 - - [24/Aug/2005:14:16:45 +0200] "GET
/jahia/jsp/index.jsp
> >HTTP/1.1" 200 11203
> >127.0.0.1 - - [24/Aug/2005:14:16:45 +0200] "GET
>
>/jahia/jsp/jahia/templates/myjahiasite/corporate_portal_templates/i
> mages/pix.gif
> >HTTP/1.1" 500 610
> >127.0.0.1 - - [24/Aug/2005:14:16:45 +0200] "GET
>
>/jahia/jsp/jahia/templates/myjahiasite/corporate_portal_templates/i
> mages/jahia_powered.gif
> >HTTP/1.1" 500 610
> >127.0.0.1 - - [24/Aug/2005:14:16:45 +0200] "GET
>
>/jahia/webdav/site/myjahiasite/shared/import/Home/banner_home.gif
> >HTTP/1.1" 304 0
> >127.0.0.1 - - [24/Aug/2005:14:16:45 +0200] "GET /favicon.ico
> >HTTP/1.1" 404 289
> >
> >The first "GET /jahia/jsp/index.jsp HTTP/1.1" gets nothing
- if the
> >browser refresh is used twice the content appears - six
refreshes
> >and the graphic is all right !!???
> >
> >Regards
> >
> >Aage Nielsen
> >------------------------------------
> >Vesterbrogade 8
> >DK-8800 Viborg
> >Denmark
> >
> >Phone +45 87 25 50 83
> >Mobile +45 25 28 69 83
> >e-mail: [EMAIL PROTECTED]
>
>-------=[ pvollenweider at jahia dot com ]=---------
>Jahia : A collaborative source CMS and Portal Server
>www.jahia.org Community and product web site
>www.jahia.com Commercial services company
>
-------=[ pvollenweider at jahia dot com ]=---------
Jahia : A collaborative source CMS and Portal Server
www.jahia.org Community and product web site
www.jahia.com Commercial services company
|