Re: [EMAIL PROTECTED] mod_proxy_ajp

2008-11-20 Thread Vasanth Kumar ravi
I think you need to specify the virtual hosts. When I was trying to proxy requests to my app server , I got the same problem and got it fixed after modfying the VH. NameVirtualHost *:80 DocumentRoot " ServerName :80 ServerAlias localhost DocumentRoot "$1 [R,NC] ErrorLog /home/apache/logs/erro

[EMAIL PROTECTED] mod_proxy_ajp

2008-11-19 Thread biju.blore
Hi I am facing an issue with apache-jboss AJP connectivity. I am mentioning my settings below I am using mod_proxy_ajp.so in my Apache "proxy_ajp.conf" The configuration of proxypass is as follows ProxyPassMatch ^(/publish.*) ajp://192.168.9.11:8009/$1 timeo

[EMAIL PROTECTED] mod_proxy_ajp problem: ajp_ilink_receive failed

2007-08-22 Thread Dennis Kieselhorst
Hi, I have some problems with my application. If there is a high request count, the client will get a 503 error. I have two apaches (accessed by round robin dns) and two tomcats. So if one of them fails, the other one should handle the requests. Unfortunately this doesn't work, both fail at the sa

[EMAIL PROTECTED] mod_proxy_ajp use too much memory?

2007-06-13 Thread Xuekun Hu
Hi, guys My system is DP Xeon with 8G memory. And I'm using Apache2.2.4 (worker MPM) and TOMCAT5.5.17 which connected by mod_proxy_ajp. My configuration is simple: KeepAlive On MaxKeepAliveRequests 0 ThreadsPerChild 300 MaxRequestsPerChild 0 MaxMemFree 100 ProxyPass /jsp-scripts ajp://

[EMAIL PROTECTED] mod_proxy_ajp with SSL front end: data corruption of POST request

2007-05-17 Thread Erwin Veugelers
Hi people, We have a simple setup with a single Apache httpd-2.2.0 server with mod_proxy and related modules (ajp, http, etc), and a Tomcat 5.5.20 app server running an HTTP connector on 8080 and an AJP connector on 8009. The Apache server proxies into Tomcat using: ProxyPass /we

Re: [EMAIL PROTECTED] mod_proxy_ajp & static content

2006-08-03 Thread dfelicia
Got it working. Here's how I did it: Options FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all Alias /bar "/foo/bar" RewriteEngine On RewriteRule ^/bar/(.*)\.jsp$ ajp://127.0.0.1:45002/bar/$1.jsp [P] RewriteRule ^/bar/(.*)\.jsv$ ajp://127.0.0.1:4500

Re: [EMAIL PROTECTED] mod_proxy_ajp & static content

2006-08-03 Thread dfelicia
When I try to insert a ProxyPass directive inside a LocationMatch, Apache fails to start - syntax error. I'm really hoping for an example, here. I'm wading through the doc, but am not coming up with a solution. -- View this message in context: http://www.nabble.com/mod_proxy_ajp---static-conte

Re: [EMAIL PROTECTED] mod_proxy_ajp & static content

2006-08-03 Thread Nick Kew
On Thursday 03 August 2006 00:14, dfelicia wrote: > http://myserver/myapp/my.jsp -> route to Tomcat > http://myserver/myapp/my.gif -> serve via Apache > > This is quite easy to accomplish using mod_jk, but Apache 2.2 seems to > prefer mod_proxy_ajp. Look up in TFM. This looks like something tha

[EMAIL PROTECTED] mod_proxy_ajp & static content

2006-08-02 Thread dfelicia
I've seen a few posts re: this topic, but don't quite get the solution... I'm trying to use mod_proxy_ajp to pass only dynamic content to the servlet engine (*.jsp), while allowing Apache to serve static content. the catch, of course, is that the URL has to be the same for both. So, http://mys

RE: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl

2006-06-07 Thread JP
> > I was wrong. I was just looking a simple tomcat example jsp that > contained html, so I thought the request was getting passed onto Tomcat, > but it wasn't. ... > > > > Thanks for the tip, but I don't think that's my problem. I > > just noticed that Tomcat is getting the request and > > gene

RE: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl

2006-06-07 Thread Fenlason, Josh
I finally figured it out. I had to add 'RewriteEngine on' to my rewrite config inside the ssl virtualhost. Thanks. , Josh. > -Original Message- > From: Fenlason, Josh > Sent: Wednesday, June 07, 2006 10:28 AM > To: 'users@httpd.apache.org' > Subject:

RE: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl

2006-06-07 Thread Fenlason, Josh
users@httpd.apache.org' > Subject: RE: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl > > Thanks for the tip, but I don't think that's my problem. I > just noticed that Tomcat is getting the request and > generating the html from the jsp. However, by the ti

RE: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl

2006-06-06 Thread Fenlason, Josh
/ RewriteRule ^/(.*) ajp://localhost:8010/$1 [P] > -Original Message- > From: Robert Ionescu [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 06, 2006 12:01 PM > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl > > Fenlas

Re: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl

2006-06-06 Thread Robert Ionescu
Fenlason, Josh wrote: I think it's probably something to do with my mod_rewrite configuration, If you're using a SSL , be sure to either inherit the rules from the main server config section with the RewriteOptions directive or repeat the rules in that virtual host. -- Robert -

Re: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl

2006-06-05 Thread William A. Rowe, Jr.
Charlie Moher wrote: > Please remove me from your mailing list immediately. Thank you. Please follow the directions to remove yourself. > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http:

RE: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl

2006-06-05 Thread Charlie Moher
Please remove me from your mailing list immediately. Thank you. From: "Fenlason, Josh" <[EMAIL PROTECTED]> Reply-To: users@httpd.apache.org To: Subject: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl Date: Mon, 5 Jun 2006 15:53:13 -0400 I'm running into a probl

[EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl

2006-06-05 Thread Fenlason, Josh
I'm running into a problem with mod_proxy_ajp in Apache 2.2.2 when I have ssl enabled.  The configuration below correctly passes http requests to Tomcat, but all https requests are handled by Apache.  I need https requests for jsps to be forwarded to Tomcat as well.  I think it's probably so

RE: [EMAIL PROTECTED] mod_proxy_ajp

2005-12-20 Thread Fenlason, Josh
e- > From: Nick Kew [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 20, 2005 11:31 AM > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] mod_proxy_ajp > > > On Tuesday 20 December 2005 17:19, Fenlason, Josh wrote: > > > Alias /jsp-examples "D:/te

Re: [EMAIL PROTECTED] mod_proxy_ajp

2005-12-20 Thread Nick Kew
On Tuesday 20 December 2005 17:19, Fenlason, Josh wrote: > Alias /jsp-examples "D:/test/tomcat/webapps/jsp-examples" > > Options Indexes FollowSymLinks > AllowOverride None > allow from all > > > ProxyPass /jsp-examples ajp://localhost:8009/jsp-examples > ProxyPassReverse /jsp-examples ajp

[EMAIL PROTECTED] mod_proxy_ajp

2005-12-20 Thread Fenlason, Josh
Title: Message Would anyone be able to tell me how static content gets served when using mod_proxy_ajp? For example if I'm running apache and tomcat with the following apache configuration, who servers the static content under /jsp-examples?  Apache or Tomcat?   Alias /jsp-examples "D:/tes