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 pravesh@gmail.com 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

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

2010-03-09 Thread Philip Wigg
On 9 March 2010 07:57, Michael Menegakis arx...@gmail.com wrote: On Mon, Mar 8, 2010 at 11:12 AM, Philip Wigg p...@philipwigg.co.uk wrote: On 8 March 2010 05:17, Michael Menegakis arx...@gmail.com wrote: Hi all A rule is in place that that rewrites domains to www.domains In one particular

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

2010-03-09 Thread Philip Wigg
On 8 March 2010 22:24, afrodom erakovic.bo...@gmail.com 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

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:

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, 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

[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] IfModule mod_rewrite.c 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 IfModule 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 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 cluster.

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 j.zucker...@gmail.com 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

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...@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

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 eugene.adell-...@socgen.com 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

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

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] Avoid endless loop of mod_rewrite

2010-03-09 Thread Michael Menegakis
On Tue, Mar 9, 2010 at 11:01 AM, Philip Wigg p...@philipwigg.co.uk wrote: On 9 March 2010 07:57, Michael Menegakis arx...@gmail.com wrote: On Mon, Mar 8, 2010 at 11:12 AM, Philip Wigg p...@philipwigg.co.uk wrote: On 8 March 2010 05:17, Michael Menegakis arx...@gmail.com wrote: Hi all A rule

[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: VirtualHost 1.2.3.4 CustomLog |/usr/sbin/rotatelogs /logs/site/access_log.%U-%Y 604800 combined /VirtualHost VirtualHost 1.2.3.5 CustomLog

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 ef-li...@email.de 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

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

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 serj...@gmail.com: 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

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

2010-03-09 Thread Edward Quick
Thanks Phil, That worked a treat. Proxy balancer://tomcat BalancerMember ajp://localhost:8009 route=jvm001 redirect=jvm002 keepalive=On ping=1 BalancerMember ajp://localhost:8010 route=jvm002 keepalive=On status=-H ping=1 /Proxy -Original Message- From: Philip Wigg

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

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 ef-li...@email.de 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

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 event MPM is