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

596 questions
1
vote
2 answers

Is Apache mod_evasive has same function as Lighttpd mod_evasive?

Apache mod_evasive description: When possible attacks are detected, mod_evasive will block the traffic from the source for a specific duration of time, while reports abuses via email and syslog facilities. Or administrators can configure…
Memek Kontol
0
votes
1 answer

Balancing between load and site stability (500 errors) with max-procs in lighttpd

I have a rather large dynamic site running off a single lighttpd powered box (1.3 million page views per day). But Im frequently getting random 500 errors on the site, which sometimes go away within a second or 2... or sometimes not going away until…
user11350
0
votes
1 answer

PHP curl_exec failing with HTTPS

I have a wordpress site that its failing. I tracked the issue and I found that is due to curl_exec() failing with HTTPS sites. I'm running php 5.6 in a Alpine Linux v3.8 container with lighttpd. The logs (error.log) don't give too much…
lepe
  • 469
  • 2
  • 6
  • 25
0
votes
0 answers

Trying to deploy my flask web app using lighttpd

I'm trying to deploy my flask web app using lighttpd. I created this hello.fcgi file #!/usr/bin/python from flup.server.fcgi import WSGIServer from hello import app if __name__ == '__main__': WSGIServer(app).run() And python file is hello.py…
0
votes
1 answer

What files to backup on Lighttpd+MySQL+PHP server

I have a VPS with CentOS 5. I would like to create backup of: all my config files tweaks of database, php, server a databases cron settings website files installed applications and their settings (?) What files should i take into account? I don't…
Tom Smykowski
  • 1,125
  • 5
  • 19
  • 27
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
  • 222
  • 1
  • 10
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
  • 1
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
  • 640
  • 2
  • 6
  • 22
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
  • 640
  • 2
  • 6
  • 22
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
  • 641
  • 1
  • 8
  • 17