Project

General

Profile

Lighttpd HTTP Headers

Added by zulqarnainhabib about 9 years ago

Hello

I am migrating from Apache to Lighttpd. I use following in Apache

RewriteEngine On
RewriteCond (.*)
RewriteRule .* - [E=REMOTEA:%1]
RequestHeader set X-Oracle-Cache-User "
{REMOTEA}e"

It actually copies the IP address of the connected user to a CGI Variable X-Oracle-Cache-User.

I want to achieve same thing in Lighttpd and spent many hours but have not succeeded.

I would be really thankful if someone please give me its alternative in Lighttpd.

Zulqarnain


Replies (1)

RE: Lighttpd HTTP Headers - Added by zulqarnainhabib about 9 years ago

I always prefer Lighttpd over Apache but the bad thing about Lighttpd is few people know it well. If you have some problem very few can help whereas with Apache many people can always help.

I think I have to go back to Apache.

    (1-1/1)