Re: [EMAIL PROTECTED] Using ExtFilterDefine to filter the output of a CGI command (Apache 2.2)

2008-03-07 Thread Joshua Slive
On Fri, Mar 7, 2008 at 12:49 AM, Vladimir Vanuukov <[EMAIL PROTECTED]> wrote: > Just realized that the cgi script that is not getting filtered is a nph > (non-parsed-headers) script. Other scrips in the same directory get > filtered just fine. Any idea how to enable filtering for nph scripts? Th

[EMAIL PROTECTED] Need help on memory related issues

2008-03-07 Thread Arnab Ganguly
Hi All, I am facing a terrible memory leak issue.I tried with setting MaxRequestPerChild to some value but even then I see a increase in memory consumption.For each request there is a substantial increase in RSS value and this memory is never returned back to RAM it seems. I was using apr_palloc t

Re: [EMAIL PROTECTED] Using ExtFilterDefine to filter the output of a CGI command (Apache 2.2)

2008-03-07 Thread Vladimir Vanuukov
The script is CGIProxy, is there a good non nph alternative? Joshua Slive wrote: On Fri, Mar 7, 2008 at 12:49 AM, Vladimir Vanuukov <[EMAIL PROTECTED]> wrote: Just realized that the cgi script that is not getting filtered is a nph (non-parsed-headers) script. Other scrips in the same direct

Re: [EMAIL PROTECTED] Using ExtFilterDefine to filter the output of a CGI command (Apache 2.2)

2008-03-07 Thread Joshua Slive
On Fri, Mar 7, 2008 at 9:53 AM, Vladimir Vanuukov <[EMAIL PROTECTED]> wrote: > The script is CGIProxy, is there a good non nph alternative? You're really adding hack on top of hack there! I hope you're just doing this for fun, since what you're creating is a Frankenstein's nightmare. Anyway, I wo

Re: [EMAIL PROTECTED] Using ExtFilterDefine to filter the output of a CGI command (Apache 2.2)

2008-03-07 Thread Nick Kew
On 7 Mar 2008, at 05:39, Vladimir Vanuukov wrote: I define the filter using ExtFilterDefine vlads mode=output cmd="/bin/sed s/some_text/some_other_text/g" Why use ext_filter (with its very substantial performance penalty) when you could accomplish the same using mod_line_edit or mod_substit

Re: [EMAIL PROTECTED] Using ExtFilterDefine to filter the output of a CGI command (Apache 2.2)

2008-03-07 Thread Nick Kew
On 7 Mar 2008, at 14:53, Vladimir Vanuukov wrote: The script is CGIProxy, is there a good non nph alternative? If you tell us what CGIProxy does for you that mod_proxy doesn't, then maybe we could suggest something. -- Nick Kew ---

Re: [EMAIL PROTECTED] Using ExtFilterDefine to filter the output of a CGI command (Apache 2.2)

2008-03-07 Thread Vladimir
Cgiproxy is a web-based proxy. I can go to the cgi script, type in an address and it display the page fore me and allow to browse it. It will rewrite all the links to point to the server where cgiproxy resides. Don't sure how to do this with mod_proxy. Also for users who for wjatever reason can'

Re: [EMAIL PROTECTED] Using ExtFilterDefine to filter the output of a CGI command (Apache 2.2)

2008-03-07 Thread Nick Kew
On 7 Mar 2008, at 17:22, Vladimir wrote: Cgiproxy is a web-based proxy. I can go to the cgi script, type in an address and [...] OK, I see. That's not what mod_proxy does, and I don't see a simple solution based only on standard components (a complex solution with mod_rewrite, mod_header

Re: [EMAIL PROTECTED] Cannot access "localhost"

2008-03-07 Thread Scott Gifford
Ben Schonle <[EMAIL PROTECTED]> writes: > *In Short: > - After fresh installation of apache2 trying to access localhost or > 127.0.0.1 is not working Hi Ben, What error do you get when you try to connect? What happens if you type "telnet 127.0.0.1 80" on the Web server to connect directly? ---

[EMAIL PROTECTED] mod_proxy socket-timeout?

2008-03-07 Thread Michael Haas
Hello, I would like to know if there is a possibility to set a socket timeout (no tcp handshake possible, when host is down) and a different application timeout (tcp handshake complete but backend server/application is slow). The reason i ask is i would like to have a fast reaction when one of t