[EMAIL PROTECTED] Apache HTTP server 2.2, Mod_proxy, Tomcat 6 - Very slow connection

2008-05-30 Thread bohemianRhapsody
Hi, I am facing a problem in my web application's deployment and would be grateful for any help in this regard. Thanks. PROBLEM: - When a client requests for our web application, the first page takes a very long time to load. It takes almost 3 minutes. After that, subsequent connections are quit

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-05-30 Thread Krist van Besien
On Thu, May 29, 2008 at 11:00 PM, amiribarksdale <[EMAIL PROTECTED]> wrote: > > I'm not using CGI--just mod_perl. What are you using mod_perl for? Are you producing any dynamically generated content? Could be that apache itself is waiting for some script or module to finish... Krist -- [EMAIL

Re: [EMAIL PROTECTED] X_FORWARDED_FOR, squid and apache IP cheating

2008-05-30 Thread Matus UHLAR - fantomas
On 23.05.08 21:12, howard chen wrote: > This is my current setup in using squid3 as reverse proxy in front of > apache: > > browser (e.g. 202.182.201.3) <> squid3 stable6 <> apache 1.3.37 > (PHP) > > My PHP will get the user IP by HTTP_X_FORWARDED_FOR pass by squid. > > Now the problem i

[EMAIL PROTECTED] a trouble with ssi include

2008-05-30 Thread gogo
hi,list! I have a trouble with ssi , the include command! All html in my apache server use and works fine. And Just now ,i insert some note with to mark some code in html , but between the two line all code can't be explain, and the page is blank on that place. Why ? Does this code can't us

[EMAIL PROTECTED] Fatal errors

2008-05-30 Thread debussy007
Hi, I would like to know where the fatal errors are logged. I checked the error_log file of apache but I can't see any fatal errors there, Only lines that starts with: File does not exist: ... client sent HTTP/1.1 request without hostname ... Thank you for any help! -- View this message in con

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-05-30 Thread amiribarksdale
Krist van Besien wrote: > > > What are you using mod_perl for? Are you producing any dynamically > generated content? Could be that apache itself is waiting for some > script or module to finish... > > Of course that's what I'm using it for. It's possible, but not likely, that Apache is act

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-05-30 Thread Ben Ricker
One issue is likely keep-alives. One issue with graphics is that each one is a separate request requiring a separate SSL connection (unless the KeepAlive is set to a reasonable value (I think we set ours to 10k). Check out here: http://httpd.apache.org/docs/1.3/misc/perf-tuning.html . This i

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-05-30 Thread amiribarksdale
Ben Ricker wrote: > > One issue is likely keep-alives. One issue with graphics is that each > one is a separate request requiring a separate SSL connection (unless > the KeepAlive is set to a reasonable value (I think we set ours to > 10k). Check out here: > http://httpd.apache.org/docs/1

[EMAIL PROTECTED] problem with perl script and Apache

2008-05-30 Thread Denis Peuziat
Apache 2.2.3 + Perl 5.8.8 on SUSE SLES10 I have just migrated a site from a linux RH server with Apache 2.0.46 and perl 5.8.0 to a server with the config above. Some perls scripts that are still executing correctly on the old server, are now identified as Unknown files when page is launched in

Re: [EMAIL PROTECTED] lbmethods in mod_proxy_balancer

2008-05-30 Thread Jim Jagielski
On May 29, 2008, at 5:38 PM, andrzej wrote: Hi, module mod_proxy_balancer can make decision basing on volume of traffic or number of requests. How, for example, this volume is counted? Is it counted from the time server starts (hope not) or maybe it is counted in 10 minutes period (after

[EMAIL PROTECTED] mod_proxy_ftp does not work over SSL connection

2008-05-30 Thread David
I want to use mod_proxy_ftp over a https connection, but it somehow doesn't work. The basic setup is as follows: SSLEngine On SSLProxyEngine on SSLCertificateFile /etc/apache2/ssl/ca.pem SSLCertificateKeyFile /etc/apache2/ssl/ca.key Order deny,allow Allow from all Pr

Re: [EMAIL PROTECTED] lbmethods in mod_proxy_balancer

2008-05-30 Thread Jess Holle
Jim Jagielski wrote: On May 29, 2008, at 5:38 PM, andrzej wrote: Hi, module mod_proxy_balancer can make decision basing on volume of traffic or number of requests. How, for example, this volume is counted? Is it counted from the time server starts (hope not) or maybe it is counted in 10 minu

Re: [EMAIL PROTECTED] lbmethods in mod_proxy_balancer

2008-05-30 Thread andrzej
Jim Jagielski pisze: On May 29, 2008, at 5:38 PM, andrzej wrote: Hi, module mod_proxy_balancer can make decision basing on volume of traffic or number of requests. How, for example, this volume is counted? Is it counted from the time server starts (hope not) or maybe it is counted in 10 mi

RE: [EMAIL PROTECTED] lbmethods in mod_proxy_balancer

2008-05-30 Thread Ryan Murray
> -Original Message- > From: Jim Jagielski [mailto:[EMAIL PROTECTED] > Sent: Friday, May 30, 2008 3:51 PM > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] lbmethods in mod_proxy_balancer > > > On May 29, 2008, at 5:38 PM, andrzej wrote: > > > Hi, > > > > module mod_proxy_bal

Re: [EMAIL PROTECTED] lbmethods in mod_proxy_balancer

2008-05-30 Thread Jess Holle
Ryan Murray wrote: IMHO LB is not at all a long-term action - if my LB worked like current world stock market I'd return it to the vendor! Knowing that _over time_ my "n" clustered servers did the same amount of work is not nearly as useful as knowing that _right now_ my 2 servers are doing the

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-05-30 Thread Octavian Rasnita
How does it look the content of the downloaded perl file? It shows the perl source code, or the html page which should be created by the script? If it shows the source code, it means that the program is not executed because Apache is not configured correctly. If it shows the html result, it

RE: [EMAIL PROTECTED] lbmethods in mod_proxy_balancer

2008-05-30 Thread Ryan Murray
> > Ryan Murray wrote: > > IMHO LB is not at all a long-term action - if my LB worked like current > > world stock market I'd return it to the vendor! Knowing that _over > time_ my > > "n" clustered servers did the same amount of work is not nearly as > useful as > > knowing that _right now_ my

Re: [EMAIL PROTECTED] lbmethods in mod_proxy_balancer

2008-05-30 Thread Jim Jagielski
On May 30, 2008, at 9:25 AM, Ryan Murray wrote: In fact for many (if not most) monitoring and management situations, moving averages are more useful than infinitely historical data. If load patterns may change over time, it is often reasonable (or necessary) that recent traffic has sign

Re: [EMAIL PROTECTED] lbmethods in mod_proxy_balancer

2008-05-30 Thread Jim Jagielski
On May 30, 2008, at 9:10 AM, Jess Holle wrote: Jim Jagielski wrote: On May 29, 2008, at 5:38 PM, andrzej wrote: Hi, module mod_proxy_balancer can make decision basing on volume of traffic or number of requests. How, for example, this volume is counted? Is it counted from the time server

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-05-30 Thread Ben Ricker
KeepALives off is a BAD idea. You should turn them on. In fact, I would bet my semi-pro reputation that this may be your big issue with the SSL slowness. It may not be ALL the issues since you are using dynamic content which brings a host of perf issues. Read that link and tune KeepAlives. Ben O

Re: [EMAIL PROTECTED] Unsecuring a URL

2008-05-30 Thread Scott Gifford
Mark Mcdonald <[EMAIL PROTECTED]> writes: [...] > There are no errors, the authentication prompt just remains after apache is > restarted. > > I am testing on a box using Basic auth, with the following file in > /etc/apache2/sites-enabled: > > [...] > > Order allow,deny >

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-05-30 Thread Dragon
Denis Peuziat wrote: Apache 2.2.3 + Perl 5.8.8 on SUSE SLES10 I have just migrated a site from a linux RH server with Apache 2.0.46 and perl 5.8.0 to a server with the config above. Some perls scripts that are still executing correctly on the old server, are now identified as Unknown files

Re: [EMAIL PROTECTED] Re: Apache Security Problem

2008-05-30 Thread Scott Gifford
Andre Hübner <[EMAIL PROTECTED]> writes: > Hi, > >>> You can do restrictions of particular options using the technique >>> shown her= >>>e: >>>http://httpd.apache.org/docs/2.2/howto/htaccess.html#how > >>>But I have a feeling that there are other ways around your separation. >>>It depends on exact

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-05-30 Thread Scott Gifford
amiribarksdale <[EMAIL PROTECTED]> writes: > About the only strange thing in my debug-level error logs is > > (32)Broken pipe: client stopped connection before rwrite completed That's an interesting clue. It looks like it is in the middle of a URL rewrite (mod_rewrite) while it is stuck. Maybe

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-05-30 Thread Ben Ricker
If I remember his previous email, he said that he saw this after he his the 'Reload' button which would explain it. Ben On Fri, May 30, 2008 at 9:53 AM, Scott Gifford <[EMAIL PROTECTED]> wrote: > amiribarksdale <[EMAIL PROTECTED]> writes: > >> About the only strange thing in my debug-level error

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-05-30 Thread Scott Gifford
"Ben Ricker" <[EMAIL PROTECTED]> writes: > If I remember his previous email, he said that he saw this after he > his the 'Reload' button which would explain it. It seems to me that you would have to hit Reload very fast to catch Apache in the middle of a mod_rewrite, unless the rewrite was very s

[EMAIL PROTECTED] Reverse Proxy Sanity Check

2008-05-30 Thread Jacob Mathew
I'm looking to setup apache as a reverse proxy to a couple of tomcat servers. What I want is something like this: www.proxy.com/app1 --->www.app1.target.com www.proxy.com/app2 --->www.app2.target.com >From what I can tell from the guides, to get this to work correctly there needs to b

Re: [EMAIL PROTECTED] Reverse Proxy Sanity Check

2008-05-30 Thread Jim Jagielski
On Fri, May 30, 2008 at 08:17:22AM -0700, Jacob Mathew wrote: > > So far it all seems quite solid, but then there is the issue of URL's > in javascript and other embedded content which can't identified by > ProxyHTMLURLMap. The solution proffered seem to be to use > ProxyHTMLExtended and identify

Re: [EMAIL PROTECTED] Reverse Proxy Sanity Check

2008-05-30 Thread Jacob Mathew
Thanks, I'll look into that. Though it still seems like I will have to do this regular expression search for URL's which is what my main issue is. -Jacob On Fri, May 30, 2008 at 8:23 AM, Jim Jagielski <[EMAIL PROTECTED]> wrote: > On Fri, May 30, 2008 at 08:17:22AM -0700, Jacob Mathew wrote: >> >>

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-05-30 Thread Ben Ricker
Ahhh. Good point. I spaced the rewrite part. You are right: looking at any rewrites is a candidate since it is very unlikely to catch a healthy rewrite intact with a reload. Ben On Fri, May 30, 2008 at 10:12 AM, Scott Gifford <[EMAIL PROTECTED]> wrote: > "Ben Ricker" <[EMAIL PROTECTED]> writes: >

[EMAIL PROTECTED] ext_filter + negotiation?

2008-05-30 Thread Jonathan H N Chin
Using debian's apache 2.0.54 and 2.2.3, I define a filter: ExtFilterDefine test \ mode=output intype=text/html \ cmd="/usr/bin/perl -pe 's/foo/bar/g'" I use it with: DocumentRoot /export/www Options Indexes FollowSymLinks M

[EMAIL PROTECTED] cronolog in ErrorLog entry stays running after apachectl graceful

2008-05-30 Thread J J
Hi, I am running Apache 2.2.6 on Solaris 10. I use the following line in httpd.conf to specify where errors should be sent. ErrorLog "|/path/to/cronolog /data/logs/apache/%Y/%m/error-%Y-%m-%d.log" This works fine, but whenever I run apachectl graceful, it starts a new instance of cronolog and a

Re: [EMAIL PROTECTED] mod_proxy_ftp does not work over SSL connection

2008-05-30 Thread Krist van Besien
On Fri, May 30, 2008 at 3:00 PM, David <[EMAIL PROTECTED]> wrote: > [Fri May 30 14:10:39 2008] [info] [client xx.xx.xx.xx] SSL library error 1 in > handshake (server xx.xx.xx.xx:443) > [Fri May 30 14:10:39 2008] [info] SSL Library Error: 336027900 > error:140760FC:SSL routines:SSL23_GET_CLIENT_H

[EMAIL PROTECTED] Re: cronolog in ErrorLog entry stays running after apachectl graceful

2008-05-30 Thread J J
The solution documented here seems to be working. http://cronolog.org/mailing-list/msg00134.html Is this a bug with Apache, or should I always be using exec? On Fri, May 30, 2008 at 12:38 PM, J J <[EMAIL PROTECTED]> wrote: > Hi, > > I am running Apache 2.2.6 on Solaris 10. I use the following

[EMAIL PROTECTED] Re: mod_proxy_ftp does not work over SSL connection

2008-05-30 Thread David
"Krist van Besien" <[EMAIL PROTECTED]> writes: > On Fri, May 30, 2008 at 3:00 PM, David <[EMAIL PROTECTED]> wrote: > >> [Fri May 30 14:10:39 2008] [info] [client xx.xx.xx.xx] SSL library error 1 >> in handshake (server xx.xx.xx.xx:443) >> [Fri May 30 14:10:39 2008] [info] SSL Library Error: 336027

Re: [EMAIL PROTECTED] Reverse Proxy Sanity Check

2008-05-30 Thread Nick Kew
On Fri, 30 May 2008 08:17:22 -0700 "Jacob Mathew" <[EMAIL PROTECTED]> wrote: > So far it all seems quite solid, but then there is the issue of URL's > in javascript and other embedded content which can't identified by > ProxyHTMLURLMap. Yes it can. That's what ProxyHTMLExtended is for. -- Nick

Re: [EMAIL PROTECTED] ext_filter + negotiation?

2008-05-30 Thread Nick Kew
On Fri, 30 May 2008 16:54:32 +0100 (BST) Jonathan H N Chin <[EMAIL PROTECTED]> wrote: > Using debian's apache 2.0.54 and 2.2.3, I define a filter: > > ExtFilterDefine test \ > mode=output intype=text/html \ > cmd="/usr/bin/perl -pe 's/foo/bar/g'" Presumably that

Re: [EMAIL PROTECTED] ext_filter + negotiation?

2008-05-30 Thread Jonathan H N Chin
nick wrote: > Jonathan H N Chin <[EMAIL PROTECTED]> wrote: > > > Using debian's apache 2.0.54 and 2.2.3, I define a filter: > > > > ExtFilterDefine test \ > > mode=output intype=text/html \ > > cmd="/usr/bin/perl -pe 's/foo/bar/g'" > > Presumably that's just illustrat

Re: [EMAIL PROTECTED] Apache 2.2 hangs

2008-05-30 Thread Mark Murphy
mands, e-mail: [EMAIL PROTECTED] __ NOD32 3148 (20080530) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com - The official User-To-User support forum of the Apache HTTP Server