[us...@httpd] relationship btw. socket_keepalive and socket_timeout

2009-10-19 Thread thomas2004
Can I set a worker to use both of these properties or just one? I mean if I use the socket_keepalive=true, is it meaningful to add property socket_timeout=300? -- View this message in context: http://www.nabble.com/relationship-btw.-socket_keepalive-and-socket_timeout-tp25955021p25955021.html Se

Re: [us...@httpd] relationship btw. socket_keepalive and socket_timeout

2009-10-19 Thread André Warnier
thomas2004 wrote: Can I set a worker to use both of these properties or just one? I mean if I use the socket_keepalive=true, is it meaningful to add property socket_timeout=300? Can you give us some idea of the context you are talking about ? Apache httpd ? version ? mod_jk ? something else ?

[us...@httpd] is mod_ext_filter supposed to work with mod_proxy?

2009-10-19 Thread Marcos Mendez
Does anyone know if ext_filter should work when using apache as a proxy? I'm trying to add some content to the html body of content served by the proxy, but it doesn't seem to be working. Has anyone tried this? I think that my configuration is correct, at least for the locally hosted website becaus

Re: [us...@httpd] is mod_ext_filter supposed to work with mod_proxy?

2009-10-19 Thread Eric Covener
On Mon, Oct 19, 2009 at 11:52 AM, Marcos Mendez wrote: > Does anyone know if ext_filter should work when using apache as a > proxy? I'm trying to add some content to the html body of content > served by the proxy, but it doesn't seem to be working. Has anyone > tried this? I think that my configur

Re: [us...@httpd] is mod_ext_filter supposed to work with mod_proxy?

2009-10-19 Thread Marcos Mendez
Hi Eric, thanks for the quick response. So then I must be doing something wrong. Does this look right? I'm testing a simple filter that rewrites some text. Through the proxy, this html (http://skyblender.com/index.html) should show two "arial" instead of just one. --- proxy.conf ExtFilterDef

Re: [us...@httpd] is mod_ext_filter supposed to work with mod_proxy?

2009-10-19 Thread Eric Covener
On Mon, Oct 19, 2009 at 12:39 PM, Marcos Mendez wrote: > Hi Eric, thanks for the quick response. So then I must be doing > something wrong. Does this look right? I'm testing a simple filter > that rewrites some text. Through the proxy, this html > (http://skyblender.com/index.html) should show two

[us...@httpd] apache env vars - best practices

2009-10-19 Thread aurfalien
Hi all, I've been setting custom env vars for Apache 1 of 2 ways; 1 - Changing the passwd file so Apache has a shell and loading a custom .bashrc file. 2 - Using the SetEnv directive in my httpd.conf file. I'm crazy about neither one as they both have limitations; 1 - I don't like giving A

[us...@httpd] Re: apache env vars - best practices

2009-10-19 Thread Dan Poirier
aurfal...@gmail.com writes: > I've been setting custom env vars for Apache 1 of 2 ways; >... > What's the cleanest way to set complex env vars for Apache? Edit bin/envvars. -- Dan Poirier - The official User-To-User support

Re: [us...@httpd] Re: apache env vars - best practices

2009-10-19 Thread aurfalien
I've been setting custom env vars for Apache 1 of 2 ways; ... What's the cleanest way to set complex env vars for Apache? Edit bin/envvars. Hi Dan Thanks for the reply. I've done a search and no were on my Centos box do I see bin/envvars. Its this because I have a distro'd installed version

[us...@httpd] Re: apache env vars - best practices

2009-10-19 Thread Dan Poirier
aurfal...@gmail.com writes: >>> I've been setting custom env vars for Apache 1 of 2 ways; >>> ... >>> What's the cleanest way to set complex env vars for Apache? >> >> Edit bin/envvars. > I've done a search and no were on my Centos box do I see bin/envvars. > > Its this because I have a distro'd i

Re: [us...@httpd] Re: apache env vars - best practices

2009-10-19 Thread Eric Covener
> I've done a search and no were on my Centos box do I see bin/envvars. > > Its this because I have a distro'd installed version of APACHE vs from > source? > /etc/sysconfig/httpd sourced by apachectl? -- Eric Covener cove...@gmail.com --

Re: [us...@httpd] is mod_ext_filter supposed to work with mod_proxy?

2009-10-19 Thread Marcos Mendez
Hi Eric, I did a full stop and start of apache instead of restart. It works! Thanks! On Mon, Oct 19, 2009 at 12:47 PM, Eric Covener wrote: > On Mon, Oct 19, 2009 at 12:39 PM, Marcos Mendez > wrote: >> Hi Eric, thanks for the quick response. So then I must be doing >> something wrong. Does this

Re: [us...@httpd] is mod_ext_filter supposed to work with mod_proxy?

2009-10-19 Thread Marcos Mendez
Hi Eric, Sorry. I mispoke. The filter is working, but it seems to be ignoring the html content. I'm using intype=text/html. Regards, Marcos On Mon, Oct 19, 2009 at 5:54 PM, Marcos Mendez wrote: > Hi Eric, > > I did a full stop and start of apache instead of restart. It works! Thanks! > > On Mo

[us...@httpd] Conditional .htaccess

2009-10-19 Thread Scott Haneda
Is it possible to have .htacess values be conditional in any way. For example: if (my ip address is accessing the site) some apache directive here end if -- Scott * If you contact me off list replace talklists@ with scott@ * --

Re: [us...@httpd] is mod_ext_filter supposed to work with mod_proxy?

2009-10-19 Thread Marcos Mendez
Hi, I had to create two filters, one for text/html and one for text/plain and use SetOutputFilter for both. :) Thanks! On Mon, Oct 19, 2009 at 6:14 PM, Marcos Mendez wrote: > Hi Eric, > > Sorry. I mispoke. The filter is working, but it seems to be ignoring > the html content. I'm using intype=

Re: [us...@httpd] Conditional .htaccess

2009-10-19 Thread Jonathan Zuckerman
On Mon, Oct 19, 2009 at 3:17 PM, Scott Haneda wrote: > Is it possible to have .htacess values be conditional in any way.  For > example: > > if (my ip address is accessing the site) >        some apache directive here > end if > > -- > Scott * If you contact me off list replace talklists@ with sco

Re: [us...@httpd] Conditional .htaccess

2009-10-19 Thread Scott Haneda
On Oct 19, 2009, at 4:21 PM, Jonathan Zuckerman wrote: On Mon, Oct 19, 2009 at 3:17 PM, Scott Haneda wrote: Is it possible to have .htacess values be conditional in any way. For example: if (my ip address is accessing the site) some apache directive here end if ".htaccess values"

[us...@httpd] Re: Conditional .htaccess

2009-10-19 Thread LuKreme
On 19-Oct-2009, at 17:23, Scott Haneda wrote: php admin value and php flag values, I would like to only be enabled for my IP address, but publicly, I want them off, so the public does not see errors, only I do. I think the way to do this is to setup a different location. Something like this

Re: [us...@httpd] Re: apache env vars - best practices

2009-10-19 Thread Norman Peelman
aurfal...@gmail.com wrote: I've been setting custom env vars for Apache 1 of 2 ways; ... What's the cleanest way to set complex env vars for Apache? Edit bin/envvars. Hi Dan Thanks for the reply. I've done a search and no were on my Centos box do I see bin/envvars. Its this because I have

Re: [us...@httpd] Re: Conditional .htaccess

2009-10-19 Thread Scott Haneda
Ah ha, very nice idea. As long as my sites are not relying on the hostname, which I rarely every use src=http://example.com/file.foo and use src=/file.foo, then I should be ok. Thanks, I never thought about approaching it that way, good idea. -- Scott * If you contact me off list replace talk