Re: [us...@httpd] Memory / Process leak

2009-11-20 Thread Peter N Lewis
On 20/11/2009, at 18:21 , Nick Kew wrote: > On 20 Nov 2009, at 09:59, Peter N Lewis wrote: > >> On 20/11/2009, at 17:29 , André Warnier wrote: >> >>> Peter N Lewis wrote: I am having a serious problem with my site running out of memory. apache is leaking memory/processes. > > You me

Re: [us...@httpd] Memory / Process leak

2009-11-20 Thread Peter N Lewis
On 20/11/2009, at 18:20 , André Warnier wrote: > Peter N Lewis wrote: >> I already have: >>MaxRequestsPerChild 1000 >> So the worker processes should die and clean that out. >> I'm suspicious that the worker threads are not dieing because I've seen >> cases where there are worker threads l

[us...@httpd] installing apache on amazon ec2 instance

2009-11-20 Thread Daniel Shapiro
Running on Debian linux: I have been having trouble installing/running apache on an instance of an amazon cloud ec2 machine. Wondering if installation is badly done, or configs not set up, or if its a function of the virtual nature of IP on amazon ec2 cloud? It does seem I have 2 versions ins

Re: [us...@httpd] Using named pipe in Apache directory

2009-11-20 Thread Nick Kew
Doug McNutt wrote: To test it, 1. I set up a named pipe a.file 2. I execute cat < index.html > a.file 3. I open a browser and try to access http://localhost/a.file However, when I tried to do this, I found apache just simply close the connection and the browser stay blank. Since no one mor

Re: [us...@httpd] Using named pipe in Apache directory

2009-11-20 Thread Doug McNutt
At 02:09 -0500 11/19/09, Xuan Zhang wrote: >I am dealing with a little bit strange requirements in apache. >I want to use an "named pipe" generated by mkfifo as a file in apache >directory. For example, I put one pipe file in as a.file in apache's >directory and then generate the stream of snapsho

Re: [us...@httpd] Change Content-Disposition from inline to attachment using mod_headers in a reverse proxy?

2009-11-20 Thread Devraj Mukherjee
Hi Nick, >> >> We are setting up a reverse proxy to proxy contents from an external >> web site, because we need to change parts of the content before we >> serve it to our users (primarily to make the site Firefox friendly). >> mod_substitute does most of what we want, apart from file downloads.

Re: [us...@httpd] Can mod_proxy authenticate against another proxy (squid) server?

2009-11-20 Thread Nick Kew
Devraj Mukherjee wrote: How do I add headers for outgoing requests? with mod_headers, for example. The rate you're asking questions, you should be on IRC rather than the mailinglist. -- Nick Kew - The official User-To-User

Re: [us...@httpd] Change Content-Disposition from inline to attachment using mod_headers in a reverse proxy?

2009-11-20 Thread Nick Kew
Devraj Mukherjee wrote: Hi all, We are setting up a reverse proxy to proxy contents from an external web site, because we need to change parts of the content before we serve it to our users (primarily to make the site Firefox friendly). mod_substitute does most of what we want, apart from file d

Re: [us...@httpd] Can mod_proxy authenticate against another proxy (squid) server?

2009-11-20 Thread Devraj Mukherjee
Hi Nick, On Sat, Nov 21, 2009 at 10:14 AM, Nick Kew wrote: > Devraj Mukherjee wrote: > >> Can mod_proxy authenticate and route its request against squid or >> another proxy server? > > What authentication method is the squid demanding?  If HTTP-based, > set the headers in Apache (or if digest, yo

[us...@httpd] Change Content-Disposition from inline to attachment using mod_headers in a reverse proxy?

2009-11-20 Thread Devraj Mukherjee
Hi all, We are setting up a reverse proxy to proxy contents from an external web site, because we need to change parts of the content before we serve it to our users (primarily to make the site Firefox friendly). mod_substitute does most of what we want, apart from file downloads. Firefox on Linux

Re: [us...@httpd] Can mod_proxy authenticate against another proxy (squid) server?

2009-11-20 Thread Nick Kew
Devraj Mukherjee wrote: Can mod_proxy authenticate and route its request against squid or another proxy server? What authentication method is the squid demanding? If HTTP-based, set the headers in Apache (or if digest, you'd need have to delegate to the browser unless you can find a digest-cl

[us...@httpd] Can mod_proxy authenticate against another proxy (squid) server?

2009-11-20 Thread Devraj Mukherjee
Hi all, I am trying to setup a reverse proxy inside our corporate network to proxy an external web site. We wish to modify parts of the content before we send it down the line to our users. We have a proof of concept working and have managed to use mod_substitute to change what we need to in the c

Re: [us...@httpd] Adding module to Apache-httpd

2009-11-20 Thread Nick Kew
Ruiyuan Jiang wrote: Hi, I need the module "mod_remoteip" which is not included in the standard httpd-2.2.14 distribution. http://httpd.apache.org/docs/2.2/programs/apxs.html -- Nick Kew - The official User-To-User support

[us...@httpd] Adding module to Apache-httpd

2009-11-20 Thread Ruiyuan Jiang
Hi, I need the module "mod_remoteip" which is not included in the standard httpd-2.2.14 distribution. I downloaded the source code from people.apache.org/~wrowe/mod_remoteip.c. There is no instruction for the source code as how to compile the module. On the Apache's web site, the document show

Re: [us...@httpd] crash in Apache core with mod_proxy_fcgi in 2.2 and trunk

2009-11-20 Thread Chuck.Payne
Phone - Original Message - From: nicholas@sun.com To: users@httpd.apache.org Sent: Fri Nov 20 08:58:16 2009 Subject: Re: [us...@httpd] crash in Apache core with mod_proxy_fcgi in 2.2 and trunk Edgar Frank wrote: > Hi Nick, > > thanks for you instant reply. > >> mod_proxy_fcgi is

Re: [us...@httpd] How to capture the message contents in Apache log?

2009-11-20 Thread pe uni
Phil, Thank you much! --- On Fri, 11/20/09, Philip Wigg wrote: > From: Philip Wigg > Subject: Re: [us...@httpd] How to capture the message contents in Apache log? > To: users@httpd.apache.org > Date: Friday, November 20, 2009, 10:21 AM > > I am have configured my Apache > as a Forward Proxy. I

Re: [us...@httpd] sending pre-compressed content through reverse proxy using mod_rewrite

2009-11-20 Thread Haroon Rafique
On Today at 10:12am, HR=>Haroon Rafique wrote: HR> Hi Igor, HR> HR> Thanks for your response. I tried adding the following (is that what you HR> had in mind?): HR> HR> # set custom 404 in case .gz is not available HR> HR> ErrorDocument 404 "The requested URL was not found on this server."

Re: [us...@httpd] How to capture the message contents in Apache log?

2009-11-20 Thread pe uni
Eric, Thanks a lot! --- On Fri, 11/20/09, Eric Covener wrote: > From: Eric Covener > Subject: Re: [us...@httpd] How to capture the message contents in Apache log? > To: users@httpd.apache.org > Date: Friday, November 20, 2009, 10:20 AM > On Fri, Nov 20, 2009 at 10:06 AM, pe > uni > wrote: > >

Re: [us...@httpd] How to capture the message contents in Apache log?

2009-11-20 Thread Philip Wigg
> I am have configured my Apache as a Forward Proxy. I have set the log level > to 'DEBUG'. Even with log level DEBUG, the apache logs don't show the message > contents(payload). > Can someone please suggest me how to capture the message contents in the > apache logs. Possibly mod_dumpio is wha

Re: [us...@httpd] How to capture the message contents in Apache log?

2009-11-20 Thread Eric Covener
On Fri, Nov 20, 2009 at 10:06 AM, pe uni wrote: > Hi - > I am have configured my Apache as a Forward Proxy. I have set the log level > to 'DEBUG'. Even with log level DEBUG, the apache logs don't show the message > contents(payload). > Can someone please suggest me how to capture the message con

Re: [us...@httpd] sending pre-compressed content through reverse proxy using mod_rewrite

2009-11-20 Thread Haroon Rafique
On Today at 5:20pm, IC=>Igor Cicimov wrote: IC> Write your own 404 page? Is that good enough? IC> Hi Igor, Thanks for your response. I tried adding the following (is that what you had in mind?): # set custom 404 in case .gz is not available ErrorDocument 404 "The requested URL was not f

[us...@httpd] How to capture the message contents in Apache log?

2009-11-20 Thread pe uni
Hi - I am have configured my Apache as a Forward Proxy. I have set the log level to 'DEBUG'. Even with log level DEBUG, the apache logs don't show the message contents(payload). Can someone please suggest me how to capture the message contents in the apache logs. Thanks Pe ---

Re: [us...@httpd] Re: authentication against active directory.

2009-11-20 Thread Eric Covener
On Fri, Nov 20, 2009 at 9:19 AM, Ramesh wrote: > Hello, > > Any solution to this ?? > Get normal file-based auhentication working first, then add configuration for mod_authnz_ldap and change your AuthBasicProvider to use it. http://httpd.apache.org/docs/2.2/howto/auth.html http://httpd.apache.or

[us...@httpd] Re: authentication against active directory.

2009-11-20 Thread Ramesh
Hello, Any solution to this ?? Thank you From: Ramesh To: users@httpd.apache.org Sent: Thu, November 19, 2009 1:52:36 PM Subject: authentication against active directory. Hi, I have a web site which I would want to allow only users after authenticating th

Re: [us...@httpd] crash in Apache core with mod_proxy_fcgi in 2.2 and trunk

2009-11-20 Thread Nick Kew
Edgar Frank wrote: Hi Nick, thanks for you instant reply. mod_proxy_fcgi is not really ready for primetime. You should only use it if you're expecting to hack/debug it, and preferably feed back your experiences/fixes. That's good to know. I saw mod_proxy_fcgi being relatively old. When it wa

[us...@httpd] Re: Memory / Process leak

2009-11-20 Thread Dan Poirier
Nick Kew writes: > On 20 Nov 2009, at 09:59, Peter N Lewis wrote: >> I already have: >> >>MaxRequestsPerChild 1000 > > That's ridiculously low! Which might be part of the problem. After only handling 1000 requests, a child process will /start/ to exit - but it can't really go away until

Re: [us...@httpd] Question about mod_ajp and mod_jk ProxyPassReverse

2009-11-20 Thread Peter Schober
chuck, * Peter Schober [2009-11-17 23:54]: > * chuck.pa...@travelchannel.com [2009-11-17 > 17:42]: > > Because we are running productions, as stated on the Apache site in > > BOLD letters, mod_ajp is not for production use. We see our jboss > > down with it. > > I see a few references to mod_a

Re: [us...@httpd] crash in Apache core with mod_prox y_fcgi in 2.2 and trunk

2009-11-20 Thread Edgar Frank
Hi Nick, thanks for you instant reply. > mod_proxy_fcgi is not really ready for primetime. You should only > use it if you're expecting to hack/debug it, and preferably feed back > your experiences/fixes. That's good to know. I saw mod_proxy_fcgi being relatively old. When it was added into the

Re: [us...@httpd] crash in Apache core with mod_proxy_fcgi in 2.2 and trunk

2009-11-20 Thread Nick Kew
On 20 Nov 2009, at 10:54, Edgar Frank wrote: > it's been two days now without a reply (or any reply on the dev list). Don't recollect seeing it there (not that I'd necessarily have taken any notice of it). > I run Apache 2.2.14 on a Debian (2.6.28-2-amd64) box. As I have a urgent > need for mod

Re: [us...@httpd] crash in Apache core with mod_prox y_fcgi in 2.2 and trunk

2009-11-20 Thread Edgar Frank
Hi everyone, it's been two days now without a reply (or any reply on the dev list). It's not that I'm inpatient, but I can't imagine that nobody is interested in this issue, especially with Apache developers on both lists. I'm relatively new to mailing lists and wonder if I did something wrong. S

Re: [us...@httpd] ProxyHTMLURLMap issues ... resent .. surely somebody can help with this

2009-11-20 Thread Nick Kew
On 20 Nov 2009, at 09:31, Tom Evans wrote: > The last three replies *were* from the author :) > > Cheers > > Tom > > You know when you click reply, and then you realize you misunderstood what > the other guy said Lol! I read your previous reply the way you wrote it, and had to figure th

Re: [us...@httpd] Memory / Process leak

2009-11-20 Thread Nick Kew
On 20 Nov 2009, at 09:59, Peter N Lewis wrote: > On 20/11/2009, at 17:29 , André Warnier wrote: > >> Peter N Lewis wrote: >>> I am having a serious problem with my site running out of memory. apache >>> is leaking memory/processes. You mentioned slicehost. I have a slice, and I see a problem

Re: [us...@httpd] Memory / Process leak

2009-11-20 Thread André Warnier
Peter N Lewis wrote: I already have: MaxRequestsPerChild 1000 So the worker processes should die and clean that out. I'm suspicious that the worker threads are not dieing because I've seen cases where there are worker threads listed in ps but not listed in server-status (that will pro

Re: [us...@httpd]

2009-11-20 Thread Matus UHLAR - fantomas
> On Wed, Nov 11, 2009 at 4:28 PM, Stephen Love wrote: > > Hmmm... somewhat new to the inner details... all I know is what I research > > on my own... have not had a book-learning course on this... but TLS... what > > is that? AND... I simply want a list of source identifiers of incoming > > reque

Re: [us...@httpd] Memory / Process leak

2009-11-20 Thread Peter N Lewis
On 20/11/2009, at 17:29 , André Warnier wrote: > Peter N Lewis wrote: >> I am having a serious problem with my site running out of memory. apache is >> leaking memory/processes. > > Probably a lot more likely : your "mod_perl pages" are leaking memory. > Perl will grab memory as needed, and onc

Re: [us...@httpd] [debug] proxy_util.c(1820): proxy: worker proxy:reverse already initialized

2009-11-20 Thread Peter de Groot
Yep .. according to the doc.. this is the safest way to do a reverse proxy. Sometimes the thing proxies properly .. usually the first time .. and then a refresh give me a web site (the proxied one) unavailable. If course it is working now ... even with the errors in the log.. but I am the only

Re: [us...@httpd] [debug] proxy_util.c(1820): proxy: worker proxy:reverse already initialized

2009-11-20 Thread Peter de Groot
That was what I was hoping too... but no. I am wondering if it is a distro thingy .. as a google on it does bring up hits on Ubuntu LaunchPad .. but from a while ago. There is some discussion about max threads ? Cheer Tom Evans wrote: On Fri, Nov 20, 2009 at 9:25 AM, Peter de Groot

Re: [us...@httpd] [debug] proxy_util.c(1820): proxy: worker proxy:reverse already initialized

2009-11-20 Thread André Warnier
Another thing, nothing to do with your original question, but which puzzles me : In your config, you seem to be "proxying away" links with "/weather/", yet right after that you have a . Is this Location section then ever used at all ? Peter de Groot wrote: No ... Log Level is set to warn

Re: [us...@httpd] [debug] proxy_util.c(1820): proxy: worker proxy:reverse already initialized

2009-11-20 Thread Tom Evans
On Fri, Nov 20, 2009 at 9:25 AM, Peter de Groot < peter.de.gr...@det.wa.edu.au> wrote: > > No ... > Log Level is set to warn. > > > The second parameter in the log message is the level that the message was logged at. Maybe there is another LogLevel directive somewhere that is overriding what you t

Re: [us...@httpd] ProxyHTMLURLMap issues ... resent .. surely somebody can help with this

2009-11-20 Thread Tom Evans
On Fri, Nov 20, 2009 at 9:30 AM, Tom Evans wrote: > On Fri, Nov 20, 2009 at 4:42 AM, Peter de Groot < > peter.de.gr...@det.wa.edu.au> wrote: > >> >> I am going to get back to the author of the app, and see what he can >> do to change the source HTML. >> > > The last three replies *were* from the

Re: [us...@httpd] ProxyHTMLURLMap issues ... resent .. surely somebody can help with this

2009-11-20 Thread Tom Evans
On Fri, Nov 20, 2009 at 4:42 AM, Peter de Groot < peter.de.gr...@det.wa.edu.au> wrote: > > I am going to get back to the author of the app, and see what he can > do to change the source HTML. > The last three replies *were* from the author :) Cheers Tom

Re: [us...@httpd] Memory / Process leak

2009-11-20 Thread André Warnier
Peter N Lewis wrote: I am having a serious problem with my site running out of memory. apache is leaking memory/processes. Probably a lot more likely : your "mod_perl pages" are leaking memory. Perl will grab memory as needed, and once grabbed, will never release it to the OS until perl itse

Re: [us...@httpd] [debug] proxy_util.c(1820): proxy: worker proxy:reverse already initialized

2009-11-20 Thread Peter de Groot
No ... Log Level is set to warn. André Warnier wrote: Peter de Groot wrote: Another question. Why does this in the config fill the log files with the errors below. Maybe just because you set the log level to "debug" ? They do not look like error messages. -

Re: [us...@httpd] [debug] proxy_util.c(1820): proxy: worker proxy:reverse already initialized

2009-11-20 Thread André Warnier
Peter de Groot wrote: Another question. Why does this in the config fill the log files with the errors below. Maybe just because you set the log level to "debug" ? They do not look like error messages. - The official User-