≡ Menu

lighttpd.conf

Lighttpd Deny Access To Folders / Directories

If users try to open a Web page (http://example.com/dir1/file.php); I'd like to display a "URL Access Denied" message for /dir1/, /www/, and /dir2/cache/ directories under lighttpd web server? How do I configure lighttpd to deny access to directory?
[click to continue…]

mod_setenv: Lighttpd Send Custom Headers

How do I add a header to the HTTP request that was received from the client under Lighttpd web server?
[click to continue…]

I've setup 5 lighttpd web servers behind Nginx based reverse proxy / load balancer to distribute load for busy e-commerce website. However, all web server nodes putting my load balncers two IP address in access log file. How do I force lighttpd to log a real IP (public IP) address of all client computers visiting our website?
[click to continue…]