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
0 answers

Reverse Proxy with https redirect in Lighttpd

I've got a django application here that uses a lighttpd reverse proxy. We recently moved it behind an elastic load balancer on EC2 and I'm having trouble working out the correct config to do what I want. In my example, I've got the Elastic…
hopvision
  • 11
  • 1
1
vote
1 answer

CentOS 7 lighttpd startup failed

I'm running CentOS 7 and when I start lighttpd, it showed status [OK], but when I check the status, it does not actually run. There isn't much information on the startup log, but here is it: [root@km15501 lighttpd]# service lighttpd status ●…
Teddybugs
  • 153
  • 10
1
vote
1 answer

Search lighttpd access log

The access-log on my lighttpd server is kind of huge, apx 5GB. Now I need to extract all data from a given date, 12th of February, from the log file and if possible save to new file. Is it possible to search the file somehow? I have tried below sed…
Andy
  • 13
  • 2
1
vote
1 answer

Docker compose Conflict error

Unable to start container with docker-compose up Docker version 1.9.1, build a34a1d5 Dockerfile FROM ubuntu # File Author / Maintainer MAINTAINER Parzee info@parzee.com # Install Components. # Update the repository ENV LANG en_US.UTF-8 ENV…
gogasca
  • 343
  • 2
  • 15
1
vote
2 answers

Given pid, find the long gone process

I know that a certain process is restarting my web server at a certain time (probably in a cron job? It doesn't happen every day, though) but I don't know which process, only it's id (from looking at the webserver logs. I've checked a couple of the…
thenoviceoof
  • 188
  • 6
1
vote
0 answers

How to run multiple dokuwiki instances on debian with lighttpd

I installed dokuwiki using the guide here. Everything was very easy and works great. Now I want to run a second wiki on the same server. I have read enough that I think I could hack it together by copying files around and editing config files but I…
user325046
  • 11
  • 1
1
vote
1 answer

lighttpd domain access restriction, but not always static ip

How can i allow access to a domain in lighttpd for only some of my own machines when they don't have (always) a static ip?
user22711
1
vote
1 answer

multiple redirects on lighhttpd

I have a request to redirect multiple individual URLs to new individual URLs. This is the situation: **Old URL --> New URL** old.domain.org/ --> …
the0
  • 11
  • 2
1
vote
4 answers

Lighttpd configuration for www in domain name

My website does not appear when I navigate to www.url.com, but it does work for url.com This is my lighttpd config: $HTTP["host"] =~ "^url.com$" { server.document-root = "/home/a/www/url.com" server.error-handler-404 = "/index.php" }
verhogen
  • 333
  • 2
  • 4
  • 14
1
vote
1 answer

Lighttpd: Redirect Domain but not Subdomain

In the past I had the following config on Lighted that would allow me to redirect some secondary domains I own to my primary domain. $HTTP["host"] =~ "superdomain\.net|superdomain\.eu" { url.redirect = ( "^/(.*)" => "http://mything.com/"…
TCB13
  • 1,166
  • 1
  • 14
  • 34
1
vote
2 answers

413 - request entity too large in lighthttpd

When saving configuration settings in Magento I get "413 - request entity too large". We are running lighttpd. In php.ini memory_limit = -1 In lighttpd.conf server.max-request-size = 1000000 I have restarted lighttpd and the problem is still there.
Andreas
  • 11
  • 2
1
vote
1 answer

Fixing syntax errors in lighttpd.conf?

lighttpd newbie here... We're trying to set up lighttpd to host a local django app, kiosk-style. We intend to use wsgi for this, but we're having trouble figuring out the syntax for lighttpd's config file -- examples pulled straight from lighttpd…
Tom Corelis
  • 113
  • 6
1
vote
1 answer

Getting waaay too many "Spawning Local" fastcgi messages

I've got Lighttpd running 7 Python apps via fastcgi on an Ubuntu server. I turned on fastcgi debugging in the Lighttpd configuration and noticed something very weird in the logs: Normally, when you start up Lighttpd/fastcgi you get a message in the…
1
vote
6 answers

What are the advantages of lighttpd over Apache

Youtube use lighttpd rather than the common Apache. What are the advantages of Light vs Apache? Are there other alternatives to Apache?
Alex
  • 8,471
  • 26
  • 75
  • 99
1
vote
0 answers

Converting lighttpd rewrite rules to apache

I'm in the process of converting an application from Unix to a Windows based infrastructure, one of the changes being made is utilizing apache instead of lighttpd for the web server. Most of this conversion has been straight forward, however I'm…
rage8885
  • 393
  • 1
  • 3
  • 6