You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Martyn <ch...@ntlworld.com> on 2006/09/18 12:59:13 UTC
[users@httpd] mod_jk or proxy_ajp
Hi all
I have set up apache 2.2.3 using the latest release of mod_jk 1.2.18 with
glassfish on windows and all works as expected. Only when I tried to set
this up on Linux I have problems that apache will not start.
I have installed apache 2.2.3 on the linux box but I don't see any downloads
for mod_jk for apache version 2.2.3 as there is for windows. I tried an
older mod_jk but this does not work. Does anybody know why there is not a
mod_jk for Linux and apache 2.2.3?
I also would like to ask some question about proxy_ajp module.
Is it better to use this instead of mod_jk and also how would I configure it
so html is handled by apache instead of the application server I am using. I
have tried this proxy_apj but it just seems to send every thing to the
application server. As I understand about the mod_jk way of doing things
this is not the case I would configure something like this JkMount
/webapp/*.jsp
I would be grateful for any advise in the best way to go with this
Kind regards Chainy
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] mod_jk or proxy_ajp
Posted by Martyn <ch...@ntlworld.com>.
Thanks for your posts Pid, Josh I will give the rewrite a try
Regards, Chainy
-----Original Message-----
From: Fenlason, Josh [mailto:jfenlason@ptc.com]
Sent: 18 September 2006 14:01
To: users@httpd.apache.org; p@pidster.com
Subject: RE: [users@httpd] mod_jk or proxy_ajp
We pass all our dynamic content to Tomcat with this configuration
RewriteEngine on
RewriteCond %{REQUEST_URI} /(.*).jsp(.*)
RewriteRule ^/(.*) ajp://localhost:8010/$1 [P]
RewriteCond %{REQUEST_URI} /servlet/url/
RewriteRule ^/(.*) ajp://localhost:8010/$1 [P]
,
Josh.
> -----Original Message-----
> From: Pid [mailto:p@pidster.com]
> Sent: Monday, September 18, 2006 7:06 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] mod_jk or proxy_ajp
>
> Search the archive for mod_proxy_ajp, a couple of weeks ago I
> posted a sample of how to use mod_rewrite [p] to select .jsp
> files and forward them instead of using ProxyPass.
>
> pid
>
>
>
>
> Martyn wrote:
> > Hi all
> > I have set up apache 2.2.3 using the latest release of
> mod_jk 1.2.18
> > with glassfish on windows and all works as expected. Only
> when I tried
> > to set this up on Linux I have problems that apache will not start.
> >
> > I have installed apache 2.2.3 on the linux box but I don't see any
> > downloads for mod_jk for apache version 2.2.3 as there is
> for windows.
> > I tried an older mod_jk but this does not work. Does
> anybody know why
> > there is not a mod_jk for Linux and apache 2.2.3?
> >
> > I also would like to ask some question about proxy_ajp module.
> > Is it better to use this instead of mod_jk and also how would I
> > configure it so html is handled by apache instead of the
> application
> > server I am using. I have tried this proxy_apj but it just seems to
> > send every thing to the application server. As I understand
> about the
> > mod_jk way of doing things this is not the case I would configure
> > something like this JkMount /webapp/*.jsp
> >
> > I would be grateful for any advise in the best way to go with this
> > Kind regards Chainy
> >
> >
> >
> ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP
> Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > " from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] compilation problem
Posted by Tal Cohen <ta...@exenge.com>.
Have you tried doing a "make clean" or "make distclean" in-between "make
install"s:
./configure --prefix=/usr/apache --enable-proxy --enable-cache
--enable-disk-cache
make
make install
make clean (or try make distclean)
./configure --prefix=/usr/apache --enable-proxy --enable-cache
--enable-mem-cache
make
Tal
-----Original Message-----
From: Hasson Yehudit [mailto:Yehudit.Hasson@comverse.com]
Sent: Tuesday, September 19, 2006 2:08 AM
To: users@httpd.apache.org
Subject: RE: [users@httpd] compilation problem
Thanks
-----Original Message-----
From: Ben [mailto:ben@redsnapper.net]
Sent: Monday, September 18, 2006 6:48 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] compilation problem
I've seen this error before.
It's because the current /usr/apache directory is causing some sort of
config problem
Try this -
mv /usr/apache /usr/apache.x
./configure --prefix=/usr/apache --enable-proxy --enable-cache --
enable-disk-cache make mv /usr/apache.x /usr/apache make install
-- should sort you out.
On 18 Sep 2006, at 16:32, Hasson Yehudit wrote:
> Hi
>
> I have a compilation problem while trying to compile the apache second
> time with different configuration:
>
> My steps are:
>
> 1) ./configure --prefix=/usr/apache --enable-proxy --enable-cache
> --enable-disk-cache
> 2) make
> 3) make install
> 4) ./configure --prefix=/usr/apache --enable-proxy --enable-cache
> --enable-mem-cache
> 5) make
>
> I gets the following error:
>
> .....
> exports.c:1141: `ap_hack_apr_xml_parser_feed' previously defined
> here
> exports.c:2563: redefinition of `ap_hack_apr_xml_parser_done'
> exports.c:1142: `ap_hack_apr_xml_parser_done' previously defined here
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.5/450 - Release Date: 9/18/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date: 9/19/2006
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] compilation problem
Posted by Hasson Yehudit <Ye...@comverse.com>.
Ben and Tal
Thanks for your comments,
I tried your both suggestions:
1) ./configure --prefix=/usr/apache --enable-proxy --enable-cache
--enable-disk-cache
make
make install
make clean
make distclean
make extraclean ---> error: not exist such a rule although it
is defined in the rules and in the makefile
./configure --prefix=/usr/apache --enable-proxy --enable-cache
--enable-mem-cache
make
make install ---> error: exports.c:2563: redefinition of
`ap_hack_apr_xml_parser_done'
2) clean download: created new instance of apache directory under
~/httpd223test.
Actually I use clean download every time I want to change configuration,
but I don't think it is the best way to work.
I want an option to change the current configuration and not create a
new one.
How do I do it?
Yehudit
-----Original Message-----
From: Ben [mailto:ben@redsnapper.net]
Sent: Wednesday, September 20, 2006 6:14 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] compilation problem
Hi Hasson , as Tal mentions, one must do a make clean, or work with a
clean download..
Try the following - which uses a clean download:
mkdir -p /usr/apache # may need sudo
mkdir -p ~/httpd223test
cd ~/httpd223test;
wget http://apache.rmplc.co.uk/httpd/httpd-2.2.3.tar.gz
tar -xzf httpd-2.2.3.tar.gz
cd httpd-2.2.3
HP_SRC=`pwd`
mv /usr/apache /usr/apache.x # may need sudo
./configure -q --prefix=/usr/apache --enable-proxy --enable-cache --
enable-disk-cache
make #
good time to make coffee, ring mum etc.
mv /usr/apache.x /usr/apache # may need sudo
make install #may
need sudo
ldconfig -vn /usr/apache/lib #not sure if
this is necessary
If it fails, let me know where - and how/why!
Of course, if it succeeds, it would be nice to know that too..
-b
On 20 Sep 2006, at 15:23, Hasson Yehudit wrote:
> I tried it, but it didn't work (I got the same error while compiling).
> Maybe do you have another suggestion?
>
>
> -----Original Message-----
> From: Ben [mailto:ben@redsnapper.net]
> Sent: Monday, September 18, 2006 6:48 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] compilation problem
>
> I've seen this error before.
> It's because the current /usr/apache directory is causing some sort of
> config problem
>
> Try this -
>
> mv /usr/apache /usr/apache.x
> ./configure --prefix=/usr/apache --enable-proxy --enable-cache --
> enable-disk-cache make mv /usr/apache.x /usr/apache make install
>
>
> -- should sort you out.
>
>
> On 18 Sep 2006, at 16:32, Hasson Yehudit wrote:
>
>> Hi
>>
>> I have a compilation problem while trying to compile the apache
>> second
>
>> time with different configuration:
>>
>> My steps are:
>>
>> 1) ./configure --prefix=/usr/apache --enable-proxy --enable-cache
>> --enable-disk-cache
>> 2) make
>> 3) make install
>> 4) ./configure --prefix=/usr/apache --enable-proxy --enable-cache
>> --enable-mem-cache
>> 5) make
>>
>> I gets the following error:
>>
>> .....
>> exports.c:1141: `ap_hack_apr_xml_parser_feed' previously defined
>> here
>> exports.c:2563: redefinition of `ap_hack_apr_xml_parser_done'
>> exports.c:1142: `ap_hack_apr_xml_parser_done' previously defined here
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] compilation problem
Posted by Ben <be...@redsnapper.net>.
Hi Hasson , as Tal mentions, one must do a make clean, or work with a
clean download..
Try the following - which uses a clean download:
mkdir -p /usr/apache # may need sudo
mkdir -p ~/httpd223test
cd ~/httpd223test;
wget http://apache.rmplc.co.uk/httpd/httpd-2.2.3.tar.gz
tar -xzf httpd-2.2.3.tar.gz
cd httpd-2.2.3
HP_SRC=`pwd`
mv /usr/apache /usr/apache.x # may need sudo
./configure -q --prefix=/usr/apache --enable-proxy --enable-cache --
enable-disk-cache
make #
good time to make coffee, ring mum etc.
mv /usr/apache.x /usr/apache # may need sudo
make install #may
need sudo
ldconfig -vn /usr/apache/lib #not sure if
this is necessary
If it fails, let me know where - and how/why!
Of course, if it succeeds, it would be nice to know that too..
-b
On 20 Sep 2006, at 15:23, Hasson Yehudit wrote:
> I tried it, but it didn't work (I got the same error while compiling).
> Maybe do you have another suggestion?
>
>
> -----Original Message-----
> From: Ben [mailto:ben@redsnapper.net]
> Sent: Monday, September 18, 2006 6:48 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] compilation problem
>
> I've seen this error before.
> It's because the current /usr/apache directory is causing some sort of
> config problem
>
> Try this -
>
> mv /usr/apache /usr/apache.x
> ./configure --prefix=/usr/apache --enable-proxy --enable-cache --
> enable-disk-cache make mv /usr/apache.x /usr/apache make install
>
>
> -- should sort you out.
>
>
> On 18 Sep 2006, at 16:32, Hasson Yehudit wrote:
>
>> Hi
>>
>> I have a compilation problem while trying to compile the apache
>> second
>
>> time with different configuration:
>>
>> My steps are:
>>
>> 1) ./configure --prefix=/usr/apache --enable-proxy --enable-cache
>> --enable-disk-cache
>> 2) make
>> 3) make install
>> 4) ./configure --prefix=/usr/apache --enable-proxy --enable-cache
>> --enable-mem-cache
>> 5) make
>>
>> I gets the following error:
>>
>> .....
>> exports.c:1141: `ap_hack_apr_xml_parser_feed' previously defined
>> here
>> exports.c:2563: redefinition of `ap_hack_apr_xml_parser_done'
>> exports.c:1142: `ap_hack_apr_xml_parser_done' previously defined here
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] compilation problem
Posted by Hasson Yehudit <Ye...@comverse.com>.
I tried it, but it didn't work (I got the same error while compiling).
Maybe do you have another suggestion?
-----Original Message-----
From: Ben [mailto:ben@redsnapper.net]
Sent: Monday, September 18, 2006 6:48 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] compilation problem
I've seen this error before.
It's because the current /usr/apache directory is causing some sort of
config problem
Try this -
mv /usr/apache /usr/apache.x
./configure --prefix=/usr/apache --enable-proxy --enable-cache --
enable-disk-cache make mv /usr/apache.x /usr/apache make install
-- should sort you out.
On 18 Sep 2006, at 16:32, Hasson Yehudit wrote:
> Hi
>
> I have a compilation problem while trying to compile the apache second
> time with different configuration:
>
> My steps are:
>
> 1) ./configure --prefix=/usr/apache --enable-proxy --enable-cache
> --enable-disk-cache
> 2) make
> 3) make install
> 4) ./configure --prefix=/usr/apache --enable-proxy --enable-cache
> --enable-mem-cache
> 5) make
>
> I gets the following error:
>
> .....
> exports.c:1141: `ap_hack_apr_xml_parser_feed' previously defined
> here
> exports.c:2563: redefinition of `ap_hack_apr_xml_parser_done'
> exports.c:1142: `ap_hack_apr_xml_parser_done' previously defined here
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] compilation problem
Posted by Hasson Yehudit <Ye...@comverse.com>.
Thanks
-----Original Message-----
From: Ben [mailto:ben@redsnapper.net]
Sent: Monday, September 18, 2006 6:48 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] compilation problem
I've seen this error before.
It's because the current /usr/apache directory is causing some sort of
config problem
Try this -
mv /usr/apache /usr/apache.x
./configure --prefix=/usr/apache --enable-proxy --enable-cache --
enable-disk-cache make mv /usr/apache.x /usr/apache make install
-- should sort you out.
On 18 Sep 2006, at 16:32, Hasson Yehudit wrote:
> Hi
>
> I have a compilation problem while trying to compile the apache second
> time with different configuration:
>
> My steps are:
>
> 1) ./configure --prefix=/usr/apache --enable-proxy --enable-cache
> --enable-disk-cache
> 2) make
> 3) make install
> 4) ./configure --prefix=/usr/apache --enable-proxy --enable-cache
> --enable-mem-cache
> 5) make
>
> I gets the following error:
>
> .....
> exports.c:1141: `ap_hack_apr_xml_parser_feed' previously defined
> here
> exports.c:2563: redefinition of `ap_hack_apr_xml_parser_done'
> exports.c:1142: `ap_hack_apr_xml_parser_done' previously defined here
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] compilation problem
Posted by Ben <be...@redsnapper.net>.
I've seen this error before.
It's because the current /usr/apache directory is causing some sort
of config problem
Try this -
mv /usr/apache /usr/apache.x
./configure --prefix=/usr/apache --enable-proxy --enable-cache --
enable-disk-cache
make
mv /usr/apache.x /usr/apache
make install
-- should sort you out.
On 18 Sep 2006, at 16:32, Hasson Yehudit wrote:
> Hi
>
> I have a compilation problem while trying to compile the apache second
> time with different configuration:
>
> My steps are:
>
> 1) ./configure --prefix=/usr/apache --enable-proxy --enable-cache
> --enable-disk-cache
> 2) make
> 3) make install
> 4) ./configure --prefix=/usr/apache --enable-proxy --enable-cache
> --enable-mem-cache
> 5) make
>
> I gets the following error:
>
> .....
> exports.c:1141: `ap_hack_apr_xml_parser_feed' previously defined
> here
> exports.c:2563: redefinition of `ap_hack_apr_xml_parser_done'
> exports.c:1142: `ap_hack_apr_xml_parser_done' previously defined here
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[users@httpd] compilation problem
Posted by Hasson Yehudit <Ye...@comverse.com>.
Hi
I have a compilation problem while trying to compile the apache second
time with different configuration:
My steps are:
1) ./configure --prefix=/usr/apache --enable-proxy --enable-cache
--enable-disk-cache
2) make
3) make install
4) ./configure --prefix=/usr/apache --enable-proxy --enable-cache
--enable-mem-cache
5) make
I gets the following error:
.....
exports.c:1141: `ap_hack_apr_xml_parser_feed' previously defined here
exports.c:2563: redefinition of `ap_hack_apr_xml_parser_done'
exports.c:1142: `ap_hack_apr_xml_parser_done' previously defined here
exports.c:2564: redefinition of `ap_hack_apr_xml_parser_geterror'
exports.c:1143: `ap_hack_apr_xml_parser_geterror' previously defined
here
exports.c:2565: redefinition of `ap_hack_apr_xml_to_text'
exports.c:1144: `ap_hack_apr_xml_to_text' previously defined here
exports.c:2566: redefinition of `ap_hack_apr_xml_empty_elem'
exports.c:1145: `ap_hack_apr_xml_empty_elem' previously defined here
exports.c:2567: redefinition of `ap_hack_apr_xml_quote_string'
exports.c:1146: `ap_hack_apr_xml_quote_string' previously defined here
exports.c:2568: redefinition of `ap_hack_apr_xml_quote_elem'
exports.c:1147: `ap_hack_apr_xml_quote_elem' previously defined here
exports.c:2569: redefinition of `ap_hack_apr_xml_insert_uri'
exports.c:1148: `ap_hack_apr_xml_insert_uri' previously defined here
exports.c:2578: redefinition of `ap_hack_apu_version'
exports.c:1157: `ap_hack_apu_version' previously defined here
exports.c:2579: redefinition of `ap_hack_apu_version_string'
exports.c:1158: `ap_hack_apu_version_string' previously defined here
make[2]: *** [exports.lo] Error 1
make[2]: Leaving directory `/usr/apache/httpd-2.2.3/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/apache/httpd-2.2.3/server'
make: *** [all-recursive] Error 1
[root@mogli httpd-2.2.3]#
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] mod_jk or proxy_ajp
Posted by "Fenlason, Josh" <jf...@ptc.com>.
We pass all our dynamic content to Tomcat with this configuration
RewriteEngine on
RewriteCond %{REQUEST_URI} /(.*).jsp(.*)
RewriteRule ^/(.*) ajp://localhost:8010/$1 [P]
RewriteCond %{REQUEST_URI} /servlet/url/
RewriteRule ^/(.*) ajp://localhost:8010/$1 [P]
,
Josh.
> -----Original Message-----
> From: Pid [mailto:p@pidster.com]
> Sent: Monday, September 18, 2006 7:06 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] mod_jk or proxy_ajp
>
> Search the archive for mod_proxy_ajp, a couple of weeks ago I
> posted a sample of how to use mod_rewrite [p] to select .jsp
> files and forward them instead of using ProxyPass.
>
> pid
>
>
>
>
> Martyn wrote:
> > Hi all
> > I have set up apache 2.2.3 using the latest release of
> mod_jk 1.2.18
> > with glassfish on windows and all works as expected. Only
> when I tried
> > to set this up on Linux I have problems that apache will not start.
> >
> > I have installed apache 2.2.3 on the linux box but I don't see any
> > downloads for mod_jk for apache version 2.2.3 as there is
> for windows.
> > I tried an older mod_jk but this does not work. Does
> anybody know why
> > there is not a mod_jk for Linux and apache 2.2.3?
> >
> > I also would like to ask some question about proxy_ajp module.
> > Is it better to use this instead of mod_jk and also how would I
> > configure it so html is handled by apache instead of the
> application
> > server I am using. I have tried this proxy_apj but it just seems to
> > send every thing to the application server. As I understand
> about the
> > mod_jk way of doing things this is not the case I would configure
> > something like this JkMount /webapp/*.jsp
> >
> > I would be grateful for any advise in the best way to go with this
> > Kind regards Chainy
> >
> >
> >
> ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP
> Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > " from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] mod_jk or proxy_ajp
Posted by Pid <p...@pidster.com>.
Search the archive for mod_proxy_ajp, a couple of weeks ago I posted a
sample of how to use mod_rewrite [p] to select .jsp files and forward
them instead of using ProxyPass.
pid
Martyn wrote:
> Hi all
> I have set up apache 2.2.3 using the latest release of mod_jk 1.2.18 with
> glassfish on windows and all works as expected. Only when I tried to set
> this up on Linux I have problems that apache will not start.
>
> I have installed apache 2.2.3 on the linux box but I don't see any downloads
> for mod_jk for apache version 2.2.3 as there is for windows. I tried an
> older mod_jk but this does not work. Does anybody know why there is not a
> mod_jk for Linux and apache 2.2.3?
>
> I also would like to ask some question about proxy_ajp module.
> Is it better to use this instead of mod_jk and also how would I configure it
> so html is handled by apache instead of the application server I am using. I
> have tried this proxy_apj but it just seems to send every thing to the
> application server. As I understand about the mod_jk way of doing things
> this is not the case I would configure something like this JkMount
> /webapp/*.jsp
>
> I would be grateful for any advise in the best way to go with this
> Kind regards Chainy
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org