From: James Chang on
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(a)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,
>>
>> =A0 =A0I 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:
>>
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
>> /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.
>>
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
>>
>> =A0 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.
>>
>>
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0J=
ames Chang
>> _______________________________________________
>> freebsd-ports(a)freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
>
>
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"