Re: [us...@httpd] mpm_worker and mod_ssl: requirements to OpenSSL

2010-03-09 Thread Edgar Frank
>> My question is - will I need a threadsafe build of OpenSSL to >> have mod_ssl function correctly? I couldn't find this documented. > 10/03/09 Philip Wigg > >http://www.openssl.org/support/faq.html#PROG1 > >As far as I'm aware, there's no issue with SSL and the worker MPM. The >experimental even

Re: [us...@httpd] mpm_worker and mod_ssl: requirements to OpenSSL

2010-03-09 Thread Edgar Frank
> 10/03/09 Nilesh Govindarajan >On Tue, Mar 9, 2010 at 7:48 PM, Edgar Frank wrote: >> >> My question is - will I need a threadsafe build of OpenSSL to >> have mod_ssl function correctly? I couldn't find this documented. > >Ummm.. I don't think so. I compiled httpd with >openssl-devel-1.0.0-0.13.be

RE: [us...@httpd] RE: mod_proxy_balancer back end status check

2010-03-09 Thread Edward Quick
Further testing showed this succeeded when the server was busy. The balancer marked the member's status as Err. However later after firing continuous requests, the backend ran out of memory, causing it to return a 500, and then the balancer marked it up again, sigh! I'm considering writing a scr

RE: [us...@httpd] RE: mod_proxy_balancer back end status check

2010-03-09 Thread Edward Quick
Thanks Phil, That worked a treat. BalancerMember ajp://localhost:8009 route=jvm001 redirect=jvm002 keepalive=On ping=1 BalancerMember ajp://localhost:8010 route=jvm002 keepalive=On status=-H ping=1 -Original Message- From: Philip Wigg [mailto:p...@philipwigg.co.uk] Sent: 09 March

Re: [us...@httpd] How to apply patches that are in patches_applied directory

2010-03-09 Thread William A. Rowe Jr.
On 3/9/2010 12:35 PM, Jeff Trawick wrote: > 2010/3/7 Serj : >> Hi, >> There is no instructions how to apply patches >> http://www.apache.org/dist/httpd/binaries/win32/patches_applied/ to the >> source of Apache 2.2.15 before compiling and linking. How can I do it? > > Using some good build of GNU

Re: [us...@httpd] RE: mod_proxy_balancer back end status check

2010-03-09 Thread Philip Wigg
On 9 March 2010 17:47, Edward Quick wrote: > Here’s my configuration. After the 15 seconds timeout, the back end server > (listening on port 8080 here)  returns a 502 page. Is there any > configuration I can add to detect that beforehand, and get the balancer to > redirect my request to the other

Re: [us...@httpd] How to apply patches that are in patches_applied directory

2010-03-09 Thread Jeff Trawick
2010/3/7 Serj : > Hi, > There is no instructions how to apply patches > http://www.apache.org/dist/httpd/binaries/win32/patches_applied/ to the > source of Apache 2.2.15 before compiling and linking. How can I do it? Using some good build of GNU patch for Windows (maybe http://gnuwin32.sourceforge

[us...@httpd] RE: mod_proxy_balancer back end status check

2010-03-09 Thread Edward Quick
Reposting. Here's my configuration. After the 15 seconds timeout, the back end server (listening on port 8080 here) returns a 502 page. Is there any configuration I can add to detect that beforehand, and get the balancer to redirect my request to the other server member? Timeout 15 ProxyPass

[us...@httpd] multiple instances of rotatelogs writing to the same file

2010-03-09 Thread stupidmail4me
Hello all, I have several virtual hosts piping their log files to rotatelogs. For various reasons I have two virtual hosts piping to the same log file: CustomLog "|/usr/sbin/rotatelogs /logs/site/access_log.%U-%Y 604800" combined CustomLog "|/usr/sbin/rotatelogs /logs/site/access_log.%U-%Y 604

Re: [us...@httpd] how to set a connection timeout for the AJP ProxyPass ? [NC]

2010-03-09 Thread Eugene ADELL-EXT
That's right. I now understand this is applicable in case of network latency, but not when the server is reachable and doesn't want any connection (the process is stopped, the OS returns a RST packet). Thanks. cove...@gmail.com 09/03/10 13:51 Please respond to users@httpd.apache.org To us

Re: [us...@httpd] mpm_worker and mod_ssl: requirements to OpenSSL

2010-03-09 Thread Philip Wigg
> I want to set up a httpd with a worker MPM and mod_ssl. > My question is - will I need a threadsafe build of OpenSSL to > have mod_ssl function correctly? I couldn't find this documented. > (if it is and I just missed it, please point me into the right direction) > I think the particular versions

Re: [us...@httpd] how to set a connection timeout for the AJP ProxyPass ? [C1]

2010-03-09 Thread Eric Covener
On Tue, Mar 9, 2010 at 5:28 AM, Eugene ADELL-EXT wrote: > >  Hello > > I am trying to configure a connection timeout when using a ProxyPass with > AJP. > > This one doesn't give the expected result (I get a 503 immediately instead > of waiting for 60 seconds when the back-end is not available) : >

[us...@httpd] mpm_worker and mod_ssl: requirements to OpenSSL

2010-03-09 Thread Edgar Frank
Hi list,   I want to set up a httpd with a worker MPM and mod_ssl. My question is - will I need a threadsafe build of OpenSSL to have mod_ssl function correctly? I couldn't find this documented. (if it is and I just missed it, please point me into the right direction) I think the particular v

Re: [us...@httpd] mpm_worker and mod_ssl: requirements to OpenSSL

2010-03-09 Thread Nilesh Govindarajan
On Tue, Mar 9, 2010 at 7:48 PM, Edgar Frank wrote: > Hi list, > > > > I want to set up a httpd with a worker MPM and mod_ssl. > > My question is - will I need a threadsafe build of OpenSSL to > > have mod_ssl function correctly? I couldn't find this documented. > > (if it is and I just missed it,

Re: [us...@httpd] Avoid endless loop of mod_rewrite

2010-03-09 Thread Michael Menegakis
On Tue, Mar 9, 2010 at 11:01 AM, Philip Wigg wrote: > On 9 March 2010 07:57, Michael Menegakis wrote: >> On Mon, Mar 8, 2010 at 11:12 AM, Philip Wigg wrote: >>> On 8 March 2010 05:17, Michael Menegakis wrote: Hi all A rule is in place that that rewrites domains to www.domains >>>

Re: [us...@httpd] Avoid endless loop of mod_rewrite

2010-03-09 Thread Philip Wigg
> It goes into an infinite loop again. I believe the root is forcing a > rule by 'inherit'. If I understand you correctly, you don't have access to the main httpd configuration file. If there's a rewrite in that file which is redirecting your site from domain.com to www.domain.com then I can't thi

Re: [us...@httpd] Load balancing issue.

2010-03-09 Thread Philip Wigg
> Hi, thanks on your direction. Somehow my idea solution is probably the most > resolvable by SOAP messages. > I would appreciate, if you can redirect to some good article about just > failover, in the sense that,ONLY when main server goes down, a request to be > redirected to another one in cluste

Re: [us...@httpd] can .htaccess make url better ?

2010-03-09 Thread J. Bakshi
On 03/09/2010 01:05 AM, Philip Wigg wrote: > On 8 March 2010 18:56, Jonathan Zuckerman wrote: > >> Hey Rich, and anybody else who knows about this, what you've just said >> touches on a question I've been wondering about: a few folks at work have >> always told me that .htaccess was a really sl

Re: [us...@httpd] issue in debian lenny.

2010-03-09 Thread Matus UHLAR - fantomas
> On 03/04/2010 05:53 PM, Dan Poirier wrote: > > Or just don't use in your own configuration. The only real > > reason to use it is in example configurations for other people, where > > you don't know if a given module has been loaded. > > > > If you're configuring your own server, presumably you

Re: [us...@httpd] Load balancing issue.

2010-03-09 Thread afrodom
Ok thanks ! -- View this message in context: http://old.nabble.com/Load-balancing-issue.-tp27828605p27834369.html Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com. - The official User-To-User support

[us...@httpd] how to set a connection timeout for the AJP ProxyPass ? [C1]

2010-03-09 Thread Eugene ADELL-EXT
Hello I am trying to configure a connection timeout when using a ProxyPass with AJP. This one doesn't give the expected result (I get a 503 immediately instead of waiting for 60 seconds when the back-end is not available) : ProxyPass / ajp://localhost:8009/

Re: [us...@httpd] Load balancing issue.

2010-03-09 Thread afrodom
Hi, thanks on your direction. Somehow my idea solution is probably the most resolvable by SOAP messages. I would appreciate, if you can redirect to some good article about just failover, in the sense that,ONLY when main server goes down, a request to be redirected to another one in cluster. Hope y

Re: [us...@httpd] Load balancing issue.

2010-03-09 Thread Philip Wigg
> I was wondering, may I somehow implement some business logic inside apache, > and read each user request, which will carry the information (inside > request), upon what will be decide to what server it should be redirected? Normally you would 'carry the information' inside the URI. For example,

Re: [us...@httpd] Load balancing issue.

2010-03-09 Thread afrodom
Hi Phil. I was wondering, may I somehow implement some business logic inside apache, and read each user request, which will carry the information (inside request), upon what will be decide to what server it should be redirected? Thanks -- View this message in context: http://old.nabble.com/Load

Re: [us...@httpd] Load balancing issue.

2010-03-09 Thread Philip Wigg
On 8 March 2010 22:24, afrodom wrote: > > Hi, I am hew to Apache HTTP, so I have one problem to conceive. > May I somehow (is it possible) to use Apache server to redirect a request to > appropriate application server (like JBoss), based on some information > carried in the request? And if I can p

Re: [us...@httpd] Avoid endless loop of mod_rewrite

2010-03-09 Thread Philip Wigg
On 9 March 2010 07:57, Michael Menegakis wrote: > On Mon, Mar 8, 2010 at 11:12 AM, Philip Wigg wrote: >> On 8 March 2010 05:17, Michael Menegakis wrote: >>> Hi all >>> >>> A rule is in place that that rewrites domains to www.domains >>> >>> In one particular home dir, I need the opposite, >>> >>

Re: [us...@httpd] User name in access_log

2010-03-09 Thread Nilesh Govindarajan
On Tue, Mar 9, 2010 at 1:01 PM, Pravesh Rai wrote: > Hi All, > > Is there any way to get logged-in user name in access_log ? Contents > of access_log, in our setup looks like: > > 127.0.0.1 - - [17/Feb/2010:13:07:40 +0530] "GET / HTTP/1.1" 302 236 > > If I'm not wrong, either of "-" in the log fil