Performance, and functional separation. No environment variables are created/referenced. It is obvious to a web admin (average Joe) what mod_auth_referer does, but not so obvious what SetEnvIf does in relation to specific needs. This makes a specific function a component with separation of logic from a more general base.
Billy Rose [EMAIL PROTECTED] > -----Original Message----- > From: Joshua Slive [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 01, 2002 12:21 PM > To: [EMAIL PROTECTED] > Subject: Re: mod_auth_referer > > > > On Wed, 1 May 2002, Rose, Billy wrote: > > > Could someone please take a look at this module and see if > it would benefit > > Apache 2? It authenticates based on HTTP referer. It > doesn't authenticate > > requests ending in "/" as that is for the indexing to > decide on. Also, any > > pointers are warmly welcome. > > How does this improve on > http://httpd.apache.org/docs-2.0/env.html#examples > (third example)? > > Joshua. >
