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
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
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
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://
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
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
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
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
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
>
> 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
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:
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
/
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
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
-
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:
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
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
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
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
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
20 matches
Mail list logo