|
Referer/User-Agent patch for 1.3.0: msg#00049web.lighttpd
Here's a patch to add support for $HTTP['referer'] and $HTTP['UserAgent'] directives in conditional configs. The usual warnings apply (ie: I don't really know what I'm doing).. just a temporary fix.. I've been away from the list for a bit, has there been much discussing about implementing/how best to handle http header matching? I'm thinking something like this: $HTTP['header']['Referer'] = $HTTP['header']['User-Agent'] = although that means all the modules would have to walk the headers hash and pass each value to it's patch_connection function.. Unless we have it build an array of 'headers we care about' from the config file, which is available to the plugins, and the plugins only send the headers from that array to the patch_connection() function? Or have we all gone over this and already have a solution? IMAP isn't fun sometimes ;) Matt
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: TEST-RELEASE: lighttpd-1.2.8-cygwin: 00049, Jan Kneschke |
|---|---|
| Next by Date: | Re: Referer/User-Agent patch for 1.3.0: 00049, Jan Kneschke |
| Previous by Thread: | TEST-RELEASE: lighttpd-1.2.8-cygwini: 00049, Jan Kneschke |
| Next by Thread: | Re: Referer/User-Agent patch for 1.3.0: 00049, Jan Kneschke |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |