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
2
votes
1 answer

LighTPD and PHP not working if outside of LightTPD folder

I need to set up a simple web server with PHP on Windows XP that a number of different people will use for local testing. I'm using LightTPD 1.4.30-4-IPv6-Win32-SSL and PHP 5.2. So far I've created this folder structure: tools/ LightTPD/ …
Marco83
  • 121
  • 2
2
votes
2 answers

FastCGI on lighttpd no data received

I have a simple FastCGI script: public static void main (String args[]) { int count = 0; while(new FCGIInterface().FCGIaccept()>= 0) { count ++; System.out.println("Content-type: text/html\n\n"); …
Michael Sh
  • 123
  • 2
2
votes
1 answer

Blocking HEAD, DELETE, etc. with lighttpd

So I have lighttpd installed and the site it runs only needs to respond to GET requests. I was wondering how I can return 405 responses with Allow: GET headers to anything but GET requests using lighttpd? I've had a quick google but even the…
Samuel Parkinson
  • 202
  • 3
  • 10
2
votes
1 answer

PHP File Lister Sub Directory 404 Error on Lighttpd

I just installed lighttpd today and I am having issues with lighttpd always returning a 404 error on the sub directories. I am trying to install this (h5ai) and I've followed the directions to the latter. This is the line in the configuration for…
Zane
  • 123
  • 4
2
votes
1 answer

lighttpd: Backend is overloaded + fcgi-server re-enabled + all handlers are down

We have a standard lighttpd deployment with PHP-CGI and our error logs are flooding with the following. This is causing a huge problem because we keep returning 500's to our clients: 2012-10-14 14:28:38: (mod_fastcgi.c.3001) backend is overloaded;…
AbuZubair
  • 123
  • 1
  • 4
2
votes
1 answer

Lighttpd domain redirection

I would like to redirect domains on HTTP/HTTPS: http://old.com -> https://new.com https://old.com -> https://new.com I have to specify the SSL key/certificate for the old domain but I'm not sure where I have to place these…
HTF
  • 3,148
  • 14
  • 52
  • 82
2
votes
2 answers

Lighttpd and PHP generates error "No input file specified" after server.document-root is moved

I would like to use Lighttpd and PHP to provide a lightweight standalone web server on Windows. I downloaded all the latest builds yesterday and after an hour everything was working fine. Today, I changed server.document-root from server_root +…
Larry
  • 235
  • 1
  • 3
  • 10
2
votes
2 answers

Installing lighttpd on CentOS 6.3 yum 404 errors

I have a CentOS 6.3 x86_64 server and I am trying to install lighttpd. I have installed the EPEL repo on the server using the following: rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm I then attempted to…
Luke
  • 183
  • 11
2
votes
4 answers

Why does a valid set of iptables rules slow my server to a crawl?

So I implemented some a different set of iptables rules and now if i enable them, then lighttpd simply takes forever to load php enabled pages(like wp). There is no load on the server, processor usage stays low. Here is my config, what could be the…
HackToHell
  • 260
  • 1
  • 4
  • 15
2
votes
1 answer

Lighttpd send Nagios command-line output instead of web interface

I recently installed Nagios on an EC2 instance running AmazonLinux (which is basically SuSe, to my understanding). I'm using lighttpd and mod_cgi to serve the web interface. When I navigate to a page, instead of getting the actual content, I get…
Chris
  • 133
  • 9
2
votes
1 answer

lighttpd server-status

I have enabled lighttpd mod_status as /server-status. When I go to the URL, I get the status page. I am interested in monitoring connections -- most specifically KeepAlive connections to make sure KeepAlive is working correctly. The problem is I…
Krystian Cybulski
  • 495
  • 3
  • 6
  • 13
2
votes
2 answers

SVN and 'lite' web servers

I plan to setup and configure SVN server. Think about 'lite' web servers, such as nginx or lighttpd. AFAIK nginx has only limited support for the DAV and does not have SVN module itself. Is it correct information? If so what about lighttpd? Can SVN…
Evgenii Iablokov
  • 660
  • 2
  • 9
  • 15
2
votes
0 answers

Serving videos (mod_h264_streaming) using lighttpd with a fastcgi authorizor causing problems

So my goal is to serve streaming video, but only after authentication. Since authentication could use one of many methods, I'm writing a fastcgi authorizer to handle them. Each part (streaming, fastcgi authorizer) works independently, but together…
2
votes
0 answers

Lighttpd mod_accesslog not logging fastcgi requests

I have recently installed a lighttpd for serving a python script via mod_fastcgi. Everything works fine except that I don't get the requests handled by mod_fastcgi logged in the access.log file (requests on port 80 are logged though). My lighttpd…
Ponytech
  • 934
  • 1
  • 7
  • 14
2
votes
1 answer

Lighttpd Mod-Rewrite Rule Matching All Subdomains

I am using lighttpd web server and mod_write and have a simple host match expression: $HTTP["host"] =~ "domain\.com$" { } The problem is this is matching test.domain.com as well. How do I modify the expression to only match http://domain.com but…
Justin
  • 5,328
  • 19
  • 64
  • 84