Lighttpd rewite url from specific client when using proxy

I need to send all CGI request to another server so I decided to use it with proxy. The problem is that I need to send the client IP to the server so I did the following configuration: $HTTP[“url”] =~ “cgi” { $HTTP[“remoteip”] =~ “^(.*)$” { url.rewrite-once = (“^(.*)$” => “$1?myip=%1”) } proxy.server = ( … Read more

What is a good approach to install a webserver? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for … Read more

lighttpd 403 forbidden jpeg image access

I am running a stock lighttpd installation with no configuration changes. Client sees a 403 forbidden error trying to access static images (even from an img tag on a static page). Nothing in the logs about this. Research has turned up a number of 403 solutions regarding lighttpd but all the info I found is … Read more

Arch Linux – Pass MAC address of connected client to web application via web server [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 5 years ago. Improve this question I currently have a raspberry pi running Arch Linux acting as a wifi access point. There is a web server running on the … Read more

mod_rewrite for Lighttpd

I’d like to rewrite /abc/abcd.png to /red/blue.php How is that possible in Lighttpd? Answer url.rewrite(“^/abc/abcd.png$” => “/red/blue.php”) check out the lighttpd docs for more info http://redmine.lighttpd.net/wiki/1/Docs:ModRewrite AttributionSource : Link , Question Author : Steven , Answer Author : rodjek

ServerRoot in my lighttpd.conf [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 7 years ago. Improve this question I have use the following example lighttpd.conf to launch my lighttpd. Can you please tell me where is my ‘ServerRoot’? # lighttpd configuration … Read more