You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Fenlason, Josh" <jf...@ptc.com> on 2006/06/05 21:53:13 UTC
[users@httpd] mod_proxy_ajp (mod_rewrite) with ssl
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 something to do with my mod_rewrite configuration, but I'm
not sure what I need to change. If anyone could give me some pointers,
I would be grateful. Thanks in advance.
,
Josh.
RewriteCond %{REQUEST_URI} /jsp-examples/(.*).jsp(.*)
RewriteRule ^/(.*) ajp://localhost:8010/$1 [P]
Re: [users@httpd] mod_proxy_ajp (mod_rewrite) with ssl
Posted by Robert Ionescu <ro...@googlemail.com>.
Fenlason, Josh wrote:
> I think
> it's probably something to do with my mod_rewrite configuration,
If you're using a SSL <virtualhost>, 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
---------------------------------------------------------------------
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] Single child process
Posted by Joshua Slive <jo...@slive.ca>.
On 6/6/06, Chappidi, Sudhakar <ch...@hp.com> wrote:
> I am using Apache 2.0.55 on HP-UX
>
> Can any one know the configuration in httpd.conf to restrict the number of
> child processes to ONE like on Windows .I used
>
> -X Switch option but that doesn't help because it spawns a debug-single
> child-single worker-process.
>
> My Application is a CORBA app written as Apache module and is
> multi-threaded so I am using Apache2.0.55 with worker configuration.
>
> My Corba Application gets initialized through a url request which is handled
> by a child process but, when the further requests come for processing they
> fail because they are handled by the other child processes.
>
> My Application runs fine on Windows as there is only a Single child process.
>
> My requirement is like all the requests should always be handled by the same
> Child Process.
That's not really a good programming model for apache. Rather, you
should be using interprocess communications / shared memory /etc to
handle data.
But if you really want to, you can configure the worker mpm to behave
much like the windows mpm:
ServerLimit 1
StartServers 1
MaxClients 150
MinSpareThreads 0
MaxSpareThreads 150
ThreadsPerChild 150
A server configued in this way will always have exactly 150 threads.
There will be no adjustment to load.
Joshua.
---------------------------------------------------------------------
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] Single child process
Posted by "Chappidi, Sudhakar" <ch...@hp.com>.
Hello,
I have one question.
I am using Apache 2.0.55 on HP-UX
Can any one know the configuration in httpd.conf to restrict the number
of child processes to ONE like on Windows .I used
-X Switch option but that doesn't help because it spawns a debug-single
child-single worker-process.
My Application is a CORBA app written as Apache module and is
multi-threaded so I am using Apache2.0.55 with worker configuration.
My Corba Application gets initialized through a url request which is
handled by a child process but, when the further requests come for
processing they fail because they are handled by the other child
processes.
My Application runs fine on Windows as there is only a Single child
process.
My requirement is like all the requests should always be handled by the
same Child Process.
Will be Great if any one can help.
Thanks,
Sudhakar Chappidi
Re: [users@httpd] mod_proxy_ajp (mod_rewrite) with ssl
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
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 <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_proxy_ajp (mod_rewrite) with ssl
Posted by Charlie Moher <cm...@hotmail.com>.
Please remove me from your mailing list immediately. Thank you.
>From: "Fenlason, Josh" <jf...@ptc.com>
>Reply-To: users@httpd.apache.org
>To: <us...@httpd.apache.org>
>Subject: [users@httpd] mod_proxy_ajp (mod_rewrite) with ssl
>Date: Mon, 5 Jun 2006 15:53:13 -0400
>
>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 something to do with my mod_rewrite configuration, but I'm
>not sure what I need to change. If anyone could give me some pointers,
>I would be grateful. Thanks in advance.
>,
>Josh.
>
>RewriteCond %{REQUEST_URI} /jsp-examples/(.*).jsp(.*)
>RewriteRule ^/(.*) ajp://localhost:8010/$1 [P]
_________________________________________________________________
MSNŽ Calendar keeps you organized and takes the effort out of scheduling
get-togethers.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSNŽ Premium right now and get the
first two months FREE*.
---------------------------------------------------------------------
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