Questions tagged [lighttpd]

Lighttpd ("lighty") is a fast open source web server, optimised for speed critical environments

Lighttpd (pronounced "lighty") is an open source web server optimised for speed critical environments, which is standards compliant. It attempts to be lower memory footprint, and more CPU efficient than other web servers, and is often simpler to configure. Initially it was targetted at static content, but now it is widely used for both static content and hosting CGI, PHP, Ruby, Python etc code.

More information is available on Wikipedia

587 questions
0
votes
1 answer

lighttpd 1.4: Include scheme in www-to-no-www redirect config, with path exclusion

I'm using lighttpd 1.4.45 on a Debian-based system and have the 10-no-www.conf (from /etc/lighttpd/conf-available/10-no-www.conf in the lighttpd package) in use to redirect "www." to "". In addition, I'm using certbot with the…
Thomas Perl
  • 103
  • 4
0
votes
1 answer

Lighttpd: Expose files in a directory only through chosen URL pattern

Background I have a web page X, which I would like to serve through only through URLs matching /X/${UUID}, where UUID is a random UUID which I give to a person. I have come up with a solution which involves creating symbolic links from directory…
justinpc
  • 151
  • 5
0
votes
0 answers

Lighttpd Stops Responding, Has to Be Restarted

Lighttpd web server, lighttpd was shutting down with the error: [note] sockets disabled, out-of-fds I updated to the newest build of lighttpd, updated fd limits, and now lighttpd does not shut down, but occasionally just stops responding. Needs…
the.s.brom
  • 41
  • 5
0
votes
2 answers

linux/lighttpd: setting umask for webdav?

I'm running lighttpd on my linux server. I have set up webdav, and I want to set the umask to a specific value only for the webdav site, and not for any other sites running under my lighttpd server. Is there any way to tell webdav under lighttpd to…
HippoMan
  • 165
  • 8
0
votes
0 answers

Lighttpd running FastCGI script hangs and give 500 internal error

I'm attempting to use lighttpd and fastcgi to run a small flask application. When I try to start lighttpd, it starts the server just fine, but when I try to connect in the browser, it hangs without giving any meaningful error messages. I'm running…
Michael
  • 153
  • 1
  • 7
0
votes
1 answer

Lighttpd stop responding to php calls

I am running 2 servers with Lighttpd 1.4.45 with fastcgi and php 5.6 on gentoo linux. We have a problem in both servers that about twice a day the Lighttpd stop responding to php calls, only restart of Lighttpd makes it operational again. There is…
0
votes
1 answer

Redirect http and ssl requests on 50001, 50002 to localhost ports lighttpd

I have a http server running on localhost:50001 and a ssl enabled server on localhost:50002, my root domain is say example.com lighttpd serves a directory when example.com is requested. I need to forward example.com:50001 and example.com:50002 to…
Harwee
  • 101
0
votes
1 answer

How to use php-fpm in tcp mode on an external machine?

I'm using php-fpm over TCP, because Is my intention load balance it. Should I have PHP files on every server? Or can I store it at the web server (Lighttpd)? I'm receiving 404 Error when trying to request a simple php file. That file is stored at…
LeonanCarvalho
  • 620
  • 2
  • 5
  • 21
0
votes
1 answer

Is possible to use Lighttpd $HTTP["url"] conditional to enable ssl.verifyclient.* option dynamically?

I should enable ssl.verifyclient.* option for a single endpoint of the website, to proceed with certificate login or validation. But it is not working. The configuration: $HTTP["host"] =~ "^(.*\.|)example.com$"{ $SERVER["socket"] == ":443"…
LeonanCarvalho
  • 620
  • 2
  • 5
  • 21
0
votes
2 answers

lighttpd AND apache on the same server?

I've been thinking about running lighttpd for static content, but I'd rather not throw down the couple extra bucks to run the second box. Is it possible (and this is me going out on a limb) to run Apache on port 80 and lighttpd on another port (say,…
mattbasta
  • 631
  • 1
  • 8
  • 17
0
votes
0 answers

how to use rewrite files with lighttpd

I have just installed a new personal Gentoo server (on a VPS at vpsfree.cz by the way) and wanted to try something more lightweight than Apache that I used on my previous Debian based server. I used to generate apache rewrite files from my web tools…
0
votes
1 answer

lighttpd spontaneously dies

I've been using lighttpd pretty successfully on a VPS for several years, but I've hit a snag since upgrading from Ubuntu 14.04 to 16.04.1 on September 30th. (My lighttpd is now 1.4.35.) Twice, upon trying to visit my website, I've found lighttpd not…
Kodiologist
  • 121
  • 7
0
votes
2 answers

Lighttpd rewrite with dot (.) in URL

I've an installation of lighttpd under Debian running a small API. The current rewrite rules are: url.rewrite = ( "^/(.*)\.(.+)$" => "$0", "^/(.*)$" => "/index.php/$1" ) The ideia is to (like usual on Apache): If any static file is called…
TCB13
  • 1,066
  • 1
  • 13
  • 33
0
votes
0 answers

Gradual throttling total bandwidth

I have a server with a 30TB traffic allowance hosting (mostly) history images and would like to throttle one particular directory (the download image sizes) when necessary to avoid going over the limit. My thinking was that I could use either…
chx
  • 1,665
  • 1
  • 16
  • 25
0
votes
1 answer

lighttpd can't access same files and apache can't

I having a issue with lighttpd, It can't access any of my files in ../media/* but apache can. It's the very same files it have been running for a very long time, until for 4 -> 6 hours ago, where it lighttpd stopped out of the blue. And here is the…