Error when build mod_jk with apache 2.2 under FreeBSD 7.2-STABLE 64bit?!

James Chang james.technew at gmail.com
Tue Sep 1 06:23:25 UTC 2009


Hi Sean,

     Thanks for your hint, but when I enable mod_proxy and mod_proxy_ajp
It will pass all requests to Tomcat. This will cause my apache cannot run
php scripts!

     Is there any method that can run php scripts on apache and pass java
request to Tomcat?

Best Regards!


               James Chang

2009/8/29 Sean <sean at gothic.net.au>:
> Err... Apache 2.2 has a mod_proxy_ajp module to do the job of connecting,
> and probably doesn't need mod_jk
>
> http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html
>
>
>
> On 28/08/2009, at 1:44 PM, James Chang wrote:
>
>> Hi there,
>>
>>    I try to buind mod_jk with apache 2.2 (also build from port
>> tree but with worker mode)
>> from porttree of FreeBSD but I it show me the following error messages:
>>
>> =============================================================================
>> /usr/local/lib: file not recognized: File format not recognized
>> gmake[1]: *** [mod_jk.la] Error 1
>> gmake[1]: Leaving directory
>>
>> `/usr/ports/www/mod_jk/work/tomcat-connectors-1.2.28-src/native/apache-2.0'
>> gmake: *** [all-recursive] Error 1
>> *** Error code 1
>>
>> Stop in /usr/ports/www/mod_jk.
>>
>> =============================================================================
>>
>>   In Tomcat web site, the FAQ says mod_jk could support apache 2.2
>>
>> Could someone give me a hand ?
>>
>> Thanks in advance.
>>
>> Best Regards.
>>
>>
>>                                    James Chang
>> _______________________________________________
>> freebsd-ports at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
>


More information about the freebsd-ports mailing list