Re: [EMAIL PROTECTED] How to compare cookie value to request URL

2007-11-04 Thread Christian Folini
Hey Ursula, On Wed, Oct 31, 2007 at 01:57:07PM -0700, [EMAIL PROTECTED] wrote: > In the webserver configuration, I need to compare the value of a cookie > against the request URL. > > E.g. on a request for /path/to/files/abc.zip, return the file if the > cookie contains the file name: MYCOOKIE=a

[EMAIL PROTECTED] server help

2007-11-04 Thread Michael Christie
Hi all I have Apache 2xx installed on to freebsd 6 with a number of virtual host. what I am finding when the default server name ( elmo.xxx.com.au) is put in to my browser i am not seeing the default web site in the document root /usr/local/www/data . I do see one of the virtual hosts web si

Re: [EMAIL PROTECTED] poor man's mod_deflate (mod_rewrite recipe)

2007-11-04 Thread Christian Folini
On Wed, Oct 31, 2007 at 12:39:40PM +, Nick Kew wrote: > > I think it is worth posting it here, as it is a good example for > > mod_rewrite use. > > It's a very BAD example of mod_rewrite use, because you're reinventing > a wheel that's been implemented for over 10 years in Apache. > See mod_ne

RE: [EMAIL PROTECTED] Suggestion for apachectl

2007-11-04 Thread Axel-Stephane SMORGRAV
You can certainly do something like what you propose in your apachectl, but you also probably want to avoid doing anything as clumsy as ps -ef | grep `cat /usr/apache/logs/httpd.pid` | grep -v grep > /dev/null 2>&1 Rather try something like kill -0 `cat /usr/apache/logs/httpd.pi

Re: [EMAIL PROTECTED] Protection against impolite bots

2007-11-04 Thread Nilesh Bansal
Hi, Thanks Nick. mod_loadavg is not very useful since we have a tomcat behind the apache proxy doing real heavyweight work. Also mod_evasive is a bit restrictive since it wants multiple requests to the exact same URI or exact same apache child. > 20 requests per second from one IP isn't necessari

Re: [EMAIL PROTECTED] Protection against impolite bots

2007-11-04 Thread Nick Kew
On Sun, 4 Nov 2007 18:45:55 -0500 "Nilesh Bansal" <[EMAIL PROTECTED]> wrote: > Hi all, > > I was wondering if httpd has some module that can be used for > protecting against malicious clients that send too-many requests at a > high rate. Sometimes, some clients (or robots), send too many requests

[EMAIL PROTECTED] Protection against impolite bots

2007-11-04 Thread Nilesh Bansal
Hi all, I was wondering if httpd has some module that can be used for protecting against malicious clients that send too-many requests at a high rate. Sometimes, some clients (or robots), send too many requests (e.g., 20 per second) to our application that operates with rather limited resources. I

Re: [EMAIL PROTECTED] Re: Authentication not checked in proxied directory [NOT!]

2007-11-04 Thread Eric Covener
On Nov 4, 2007 1:56 PM, Phil Endecott <[EMAIL PROTECTED]> wrote: > DocumentRoot /var/www/something > > ...auth stuff... > > > > ...no auth stuff... > ProxyPass ... > > > I found that the auth stuff in the first section was not being applied > to the proxied directory. This is by de

[EMAIL PROTECTED] Re: Authentication not checked in proxied directory [NOT!]

2007-11-04 Thread Phil Endecott
I'm surprised to find that authentication does not seem to be checked in a directory which I proxy to another local server: Ooops, I was changing the wrong part of the file. Ignore most of what I wrote. Basically I originally had this: DocumentRoot /var/www/something ...auth stuff...

[EMAIL PROTECTED] apache22 complains of Module mod_ldap missing

2007-11-04 Thread Noah
Hi there, apache-2.2.6_2 6.2-RELEASE-p6 I am not quite sure what is wrong if I am not building apache correctly or if my /usr/local/etc/apache22/httpd.conf file does not have everything configured properly. I might be missing the installation of a module or something in my httpd.conf please he

Re: [EMAIL PROTECTED] Code Pages Downloadable!

2007-11-04 Thread Sander Temme
On Nov 4, 2007, at 8:17 AM, dugaldcurtis wrote: What am I doing wrong? What setting have I missed? :confused: It seems that the double slash makes Apache decide to not send the request to mod_mono, but to serve the file instead. I have no experience with mod_mono, but how do you tell A

Re: [EMAIL PROTECTED] Authentication not checked in proxied directory

2007-11-04 Thread Nick Kew
On Sun, 04 Nov 2007 17:15:39 + "Phil Endecott" <[EMAIL PROTECTED]> wrote: > Dear Experts, > > I'm surprised to find that authentication does not seem to be checked > in a directory which I proxy to another local server: > > > AuthName "my_auth_name" >

[EMAIL PROTECTED] Authentication not checked in proxied directory

2007-11-04 Thread Phil Endecott
Dear Experts, I'm surprised to find that authentication does not seem to be checked in a directory which I proxy to another local server: AuthName "my_auth_name" AuthType basic AuthPAM_Enabled off AuthBasicProvider dbd

Re: [EMAIL PROTECTED] Code Pages Downloadable!

2007-11-04 Thread Joshua Slive
On Nov 4, 2007 11:17 AM, dugaldcurtis <[EMAIL PROTECTED]> wrote: > > Sorry for asking such a basic question but I am struggling in the transition > from IIS to Apache. > > I am using mod_mono and everything works fine. If I go to > mysite.com/login.aspx I get to my login page etc. > > However, if

[EMAIL PROTECTED] Code Pages Downloadable!

2007-11-04 Thread dugaldcurtis
Sorry for asking such a basic question but I am struggling in the transition from IIS to Apache. I am using mod_mono and everything works fine. If I go to mysite.com/login.aspx I get to my login page etc. However, if I go to mysite.com//login.aspx (notice the extra slash) it asks me if I would