RE: [users@httpd] mod_jk or proxy_ajp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for your posts Pid, Josh I will give the rewrite a try 
Regards, Chainy

-----Original Message-----
From: Fenlason, Josh [mailto:jfenlason@xxxxxxx] 
Sent: 18 September 2006 14:01
To: users@xxxxxxxxxxxxxxxx; p@xxxxxxxxxxx
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@xxxxxxxxxxx] 
> Sent: Monday, September 18, 2006 7:06 AM
> To: users@xxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxx
> >    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> > 
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux