httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@organic.com>
Subject Re: cvs commit: apache/src mod_negotiation.c
Date Sun, 28 Jul 1996 23:58:05 GMT
On Sun, 28 Jul 1996, Chuck Murcko wrote:

>         if (!(filp = strrchr (r->filename, '/'))) return DECLINED; /* Weird... */
>     
>   +     if (strncmp(r->filename, "proxy:", 6) == 0)
>   +         return DECLINED;
>   + 
>         ++filp;
>         prefix_len = strlen (filp);

I would rather it check r->proxyreq than look at the filename. "proxy:",
IMO, was never a good way of specifying a proxy request anyhow; I know if
I was writing a module that did proxying, I wouldn't use it. Is there a
reason that wouldn't work?

-- Alexei Kosut <akosut@organic.com>            The Apache HTTP Server 
   http://www.nueva.pvt.k12.ca.us/~akosut/      http://www.apache.org/


Mime
View raw message