Joacim, How about the following which is in my conf.d directory under Fedora Linux for httpd (/etc/httpd/conf.d/proxy_ajp.conf ==========================
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so # # When loaded, the mod_proxy_ajp module adds support for # proxying to an AJP/1.3 backend server (such as Tomcat). # To proxy to an AJP backend, use the "ajp://" URI scheme; # Tomcat is configured to listen on port 8009 for AJP requests # by default. # # # Uncomment the following lines to serve the ROOT webapp # under the /tomcat/ location, and the jsp-examples webapp # under the /examples/ location. # #ProxyPass /tomcat/ ajp://localhost:8009/ #ProxyPass /examples/ ajp://localhost:8009/jsp-examples/ =================================================================== Of course the ProxyPass statements would be modified as you have them for Geronimo but the single module: mod_proxy_ajp.so seems to replace the two modules you show in your write-up. If this is the case, you may want to note this in your excellent write-up. Thanks, Paul > Hi Joacim, > can you send me the section where you are loading modules in the > httpd.conf > not too sure whether it is complaining about the directive or the file, at > this point it could even > be access rights. > > Not that is going to fix the error but why are you using 1.2.14 instead of > 1.2.6? > > Cheers! > Hernan > > Joacim J wrote: >> Hernan, >> >> Good writing but I can't get it working. >> I have Geronimo 1.0 with Tomcat. >> I'm using mod_jk and when starting apache I get: >> >> [EMAIL PROTECTED] modules]# /sbin/service httpd restart >> Stopping httpd: [ OK ] >> Starting httpd: Syntax error on line 1087 of /etc/httpd/conf/httpd.conf: >> Cannot load /etc/httpd/modules/mod_jk.so into server: >> /etc/httpd/modules/mod_jk.so: cannot open shared object file: No such >> file or directory >> [FAILED] >> I have downloaded >> http://ftp.solace.mh.se/pub/mirrors/www.apache.org/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.14/jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-worker.so >> for my Fedora Core 4 and renamed it to mod_jk.so and placed it here: >> >> [EMAIL PROTECTED] modules]# ls -al /etc/httpd/modules/mod_jk.so >> -rwxr-xr-x 1 root root 558327 Jul 29 2005 /etc/httpd/modules/mod_jk.so >> [EMAIL PROTECTED] modules]# >> >> It's driving me nuts...can you give me some tip? >> >> BR >> Joacim >> >> On 2/20/06, Hernan Cunico <[EMAIL PROTECTED]> wrote: >> >>>Hi All, >>>I just updated the documentation. The following article covers how to >>> configure the Apache HTTPd to >>>forward client requests to Geronimo in two different ways, either as a >>> reverse proxy or using the >>>Jakarta Tomcat Connector. >>> >>>http://opensource2.atlassian.com/confluence/oss/display/GERONIMO/Remote+HTTPd+Server >>> >>>Cheers! >>>Hernan >>> >> >> >> >> -- >> Regards >> Joacim >> >
