Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2009 14:23:24 +0800
From:      James Chang <james.technew@gmail.com>
To:        Sean <sean@gothic.net.au>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Error when build mod_jk with apache 2.2 under FreeBSD 7.2-STABLE 64bit?!
Message-ID:  <a951c2910908312323q75d0459ex39f721dcf041084@mail.gmail.com>
In-Reply-To: <4C8DC248-8710-4C3B-9948-2BD6237E9568@gothic.net.au>
References:  <a951c2910908272044t1674e97cmdebdb4bfd01e1c89@mail.gmail.com> <4C8DC248-8710-4C3B-9948-2BD6237E9568@gothic.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a951c2910908312323q75d0459ex39f721dcf041084>