Re: [us...@httpd] Reserve http slot for server-status?

2011-01-05 Thread Torsten Förtsch
On Wednesday, January 05, 2011 23:52:01 Eric Covener wrote: > There's also a tool somewhere that parses the ScoreBoardFile if you > use a physical file and gives you server-status like information. e.g. my perl module http://search.cpan.org/perldoc?Apache2::ScoreBoardFile Torsten Förtsch -- Nee

Re: [us...@httpd] Reserve http slot for server-status?

2011-01-05 Thread Eric Covener
On Wed, Jan 5, 2011 at 5:35 PM, Michael Gale wrote: > Hello, > > > >     We pull http://server-name/server-status for information however on > occasion we have hit max clients and no open slots are available. > > > > Now usually this is caused by the failure of a backend service or DOS > attempts

Re: [us...@httpd] Reserve http slot for server-status?

2011-01-05 Thread Jeff Trawick
On Wed, Jan 5, 2011 at 5:35 PM, Michael Gale wrote: > Hello, > > > >     We pull http://server-name/server-status for information however on > occasion we have hit max clients and no open slots are available. > > > > Now usually this is caused by the failure of a backend service or DOS > attempts

Re: [us...@httpd] Reserve http slot for server-status?

2011-01-05 Thread Justin Pasher
- Original Message - From: Michael Gale Date: Wed, 5 Jan 2011 22:35:02 + Subject: [us...@httpd] Reserve http slot for server-status? To: users@httpd.apache.org Hello, We pull http://server-name/server-status for information however on occasion we have hit max clients and

[users@httpd] Reserve http slot for server-status?

2011-01-05 Thread Michael Gale
Hello, We pull http://server-name/server-status for information however on occasion we have hit max clients and no open slots are available. Now usually this is caused by the failure of a backend service or DOS attempts and when this happens we lose access to the stats information. Is there

Re: [us...@httpd] Setting and environment variable for one specific subdomain matching the ServerAlias

2011-01-05 Thread mattalexx
Thanks! Eric Covener wrote: > > On Wed, Jan 5, 2011 at 2:57 PM, mattalexx wrote: >> >> I have a virtual host that includes the following settings >> >>    ServerName www.host.com >>    ServerAlias *.host.com >> >> Can I set >> >>    SetEnv FOO "bar" >> >> for just a specific subdomain (like fo

Re: [us...@httpd] Setting and environment variable for one specific subdomain matching the ServerAlias

2011-01-05 Thread mattalexx
Thanks! Joost de Heer-2 wrote: > > On 01/05/2011 08:57 PM, mattalexx wrote: >> >> I have a virtual host that includes the following settings >> >> ServerName www.host.com >> ServerAlias *.host.com >> >> Can I set >> >> SetEnv FOO "bar" >> >> for just a specific subdomain (like fo

Re: [us...@httpd] How to set up a NAT Bounce Back in Apache?

2011-01-05 Thread [triplepack] info (i...@pack3.ch)
Hi Eric, yes i would say so because i dont know a IP balancer for apache. and i think your description points to a potential asymetrical routing issue which only happens with a IP balancer. Am 04.01.2011 22:03, schrieb Mike Alba: Hi Aaron, Thanks for your feedback so then you are saying I

Re: [us...@httpd] Setting and environment variable for one specific subdomain matching the ServerAlias

2011-01-05 Thread Joost de Heer
On 01/05/2011 08:57 PM, mattalexx wrote: I have a virtual host that includes the following settings ServerName www.host.com ServerAlias *.host.com Can I set SetEnv FOO "bar" for just a specific subdomain (like foo.host.com)? SetEnvIf Host foo.host.com foo=true Joost --

Re: [us...@httpd] Setting and environment variable for one specific subdomain matching the ServerAlias

2011-01-05 Thread Eric Covener
On Wed, Jan 5, 2011 at 2:57 PM, mattalexx wrote: > > I have a virtual host that includes the following settings > >    ServerName www.host.com >    ServerAlias *.host.com > > Can I set > >    SetEnv FOO "bar" > > for just a specific subdomain (like foo.host.com)? Try SetEnvIf or RewriteCond/Rewri

[us...@httpd] Setting and environment variable for one specific subdomain matching the ServerAlias

2011-01-05 Thread mattalexx
I have a virtual host that includes the following settings ServerName www.host.com ServerAlias *.host.com Can I set SetEnv FOO "bar" for just a specific subdomain (like foo.host.com)? -- View this message in context: http://old.nabble.com/Setting-and-environment-variable-for-one

Re: [us...@httpd] CGI / Delete / Empty Directories

2011-01-05 Thread Igor Galić
- "Kevin T Cella" wrote: > The delete happens now as a DELETE HTTP request via DAV. Since no > cleanup is done of empty directories, the underlying file system has a > trail of them. find /path/to/dav/root -type d -empty -print0 | xargs -0 rm -rf {} + n.b.: -empty and -print0 will only wor

Re: [us...@httpd] Rewrite rules

2011-01-05 Thread Igor Galić
- "Joost de Heer" wrote: > >> As a side note, are there resources you would recommend to help me > >> with this type of task? > > > [List of resources] > > There's also Rich Bowen's mod_rewrite book > (http://www.amazon.com/exec/obidos/asin/1590595610/drbacchus/). To my shame, the only Apa

RE: [us...@httpd] CGI / Delete / Empty Directories

2011-01-05 Thread Cella, Kevin T
The delete happens now as a DELETE HTTP request via DAV. Since no cleanup is done of empty directories, the underlying file system has a trail of them. -Original Message- From: Igor Galić [mailto:i.ga...@brainsware.org] Sent: Wednesday, January 05, 2011 12:44 PM To: users@httpd.apache.or

Re: [us...@httpd] CGI / Delete / Empty Directories

2011-01-05 Thread Igor Galić
- "Kevin T Cella" wrote: > Does anyone know how to configure the Apache HTTP Server to remove any > empty directories after a delete command? From what I have seen it A delete command? Where? On the File system? Via DAV? > appears a CGI script is required. How can I tell the CGI script to

[us...@httpd] CGI / Delete / Empty Directories

2011-01-05 Thread Cella, Kevin T
Does anyone know how to configure the Apache HTTP Server to remove any empty directories after a delete command? From what I have seen it appears a CGI script is required. How can I tell the CGI script to perform the normal delete, then run my code for cleaning empty directories? Or is there an eas

Re: [us...@httpd] Rewrite rules

2011-01-05 Thread Joost de Heer
>> As a side note, are there resources you would recommend to help me >> with this type of task? > [List of resources] There's also Rich Bowen's mod_rewrite book (http://www.amazon.com/exec/obidos/asin/1590595610/drbacchus/). Joost

Re: [us...@httpd] disable wget-like user-agents

2011-01-05 Thread Igor Galić
- "Mark Montague" wrote: > On January 4, 2011 22:32 , Carlos S wrote: > > Recently I was trying to download a package using wget, but the > > website prevented access to it. I tried --user-agent option but it > > didn't work either. So I was curious to know what strategy this web > > admin

Re: [us...@httpd] [SOLVED] Re: Permission Problem

2011-01-05 Thread Igor Galić
- "tinkee" wrote: > for the record this problem is fixed.. > thanks to the replies for a similar problem on this forum > > http://old.nabble.com/Fwd%3A-Re%3A--users%40httpd--Apache-2.2.17-on-RHEL-5.2-%2813%29-Permission-denied-td30069032.html > > i was about to get crazy really! :D > > ha

Re: [us...@httpd] New to list - Redirect, Alias or Rewrite?? Very confused...

2011-01-05 Thread Igor Galić
- "Robert Van Horn" wrote: > Change the name of New_Web to Old__Web. > Don't forget to cp Old_Web to Old_Web.old first. Bob, I'm not sure how that makes sense in the context of Doug's question.. > bob > > On 1/4/11 11:59 AM, d...@aiphone.com wrote: > > Hi all, > > I am attempting to have

Re: [us...@httpd] Rewrite rules

2011-01-05 Thread Igor Galić
- "Jeff Poling" wrote: > Jim, > > Thank you. That worked really well. > > As a side note, are there resources you would recommend to help me > with this type of task? For this particular task: http://wiki.apache.org/httpd/WhenNotToUseRewrite For rewrite, when useful: http://httpd.apache

Re: [us...@httpd] Unresponsive apache webserver, memory issue

2011-01-05 Thread Igor Galić
- "james" wrote: > I'm having an issue with an apache web server running on CentOS5. > After a few days/weeks of running the server will become unresponsive > and will require a physical reboot in order to come back online. The > system is so unresponsive when the issue occurs that login at

Re: [us...@httpd] Custom authentication?

2011-01-05 Thread Christian Hettler
On Tue, Jan 04, 2011 at 11:19:01AM +, Oliver Beattie wrote: > Hi there, > > I am sure this question has likely been asked many times before, I'm just > having a bit of a hard time finding answers. > > Basically, I need to be able to authenticate downloads based on a URL > signature if present