Lighttpd check request headers in configuration
- by Mike Hayes
Hi
I was wondering if it was possible in the configuration of Lighttpd to read request headers, I've searched and searched.. apparently it's not possible.
For example, conditional configuration based upon IP address:
$HTTP["remoteip"] == "0.0.0.0" {
// Do something
}
Is there something similar to check headers, for example:
$HTTP["X-Some-Header"] == "Value" {
// Do something
}
I'm thinking there isn't but thought I would post here as a last resort. Google didn't help much, and Lighttpd documentation would suggest this is not possible.
Thanks
Mike