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

Recommended setup to serve both HTTPS & HTTP connections to a pylons web-application

I'm looking for a simple way to serve my pylons application in both HTTP & HTTPS (for the administration section). I had come across some tutorials on serving pylons applications through an Apache web-server but I don't need that kind of overhead…
user6623
0
votes
3 answers

How can I recreate a directory in /tmp on reboot?

I'm running lighttpd on a Debian Lenny host. My lighttpd version has a bug where it doesn't recreate its compress.cache-dir on startup (I have it set to use /tmp/lighttpdcompress/). As a result, on reboot, lighttpd fails to start. What can I do to…
BigHairyPrincess
0
votes
4 answers

Ubuntu 10.04 + Lighttpd. can't bind to port: :: 80 Address already in use

I've had a machine running Ubuntu 9.10, with lighttpd and PHP. After the OS update to Ubuntu 10.04, it installed apache2 automatically for some reason (I believe it is due to some dependencies php -> apache). Anyway I removed apache2 permanently,…
migajek
  • 171
  • 2
  • 10
0
votes
2 answers

Monitorix Graphs Show Boxes Where Text Should Be

I have just installed Monitorix on ArchLinux using the tutorial here: wiki.archlinux.org/index.php/Monitorix I am using the Lighttpd web server. It is working fine and the graphs are being generated, but instead of text on the graphs its replaced by…
0
votes
2 answers

PHP not debugging/showing error messages

I've just installed lighttpd, and I'm not seeing any error messages on pages when I know errors must have occurred. All I get is a blank page. However, I do get the errors in the error log file - but I really want to see them while I develop instead…
Matt
  • 645
  • 1
  • 7
  • 14
0
votes
1 answer

Redirect domains with lighttpd?

I'm working on getting a Wordpress MU install running on my VPS. I enabled the 'simple-vhost' mod and can access the site fine. The problem is I can only get to it from domain.com. If I try www.domain.com I get shown the lighthttpd page? I'd like to…
user46040
0
votes
2 answers

When should I go for Varnish / Nginx or Lighttd?

I am fairly new to using any of these servers, so it will really help in knowing what specific features are most optimized of any of these three webservers. And in what scenarios should I choose one over the other?
phoenix24
  • 179
  • 1
  • 5
0
votes
1 answer

lighttpd not reliable

I have a lighttpd running which serves a django-based webservice. It was running well for some months, but from today on, it returns a 410 sometimes, and sometimes fails silently. To test, I make a curl-call, which most time runs fine; it returns…
schneck
  • 155
  • 1
  • 6
0
votes
1 answer

Prevent abuse of public HTTP directory meant for images

The situation: Each user has their own public HTTP directory, meant for images only. This could easily be abused by users using it to serve large files, wasting bandwidth. The question: Is there any fairly simple way to prevent this abuse? Either by…
sutre
  • 101
0
votes
5 answers

Can SSH be tunneled over HTTPS using thttpd?

I need to tunnel my SSH server through an HTTPS port using thttpd (I can change to lighttpd if necessary, but I'm trying to avoid installing Apache since it's an underpowered box). I haven't been able to find anything that confirms or denies this…
Michael
  • 321
  • 1
  • 2
  • 8
0
votes
1 answer

timezone setting per virtual host

I am trying to test functionality related to timezone handling/conversion during synchronization between two of my test servers (currently they are running on same mashine). Is it possible to set up hosts so one will be running, say, by London time,…
jonny
  • 357
  • 1
  • 3
  • 15
0
votes
1 answer

How to manage static content with dynamic

I have a lot of static pages, which include html files + js (SCORM packages). I have dynamic pages, also with JS which talks to the static pages JS. Static pages are being opened in an iframe, and we get them as-is from a third party (SCORM…
0
votes
1 answer

lighttpd subdomain

Is it possible to configure lighttpd to get this: subdomain1.127.0.0.1 subdomani2.127.0.0.1 . . . Or something like this: domainname.com subdomain.domainame.com if the domainname is not yet registred, ie. i want it to run on my machine but with all…
nitkoinista6699
0
votes
1 answer

Tomcat & lighttpd/apache on same CentOS server

I'm wondering whether it would be possible to setup Tomcat 6 (for hosting Confluence) and either lighttpd or Apache (for PHP things) on the same machine. Ideally I want to have the root be PHP and /confluence to be tomcat. This is to be run from a…
Sandra Pilkington
0
votes
0 answers

Is possible return a static page in https virtual host using lighttpd?

It seems like redirect is not done. If I put URL https://test2/static_page in browser it works but if I put https://test1 don't redirect SERVER["socket"] == ":443" { $HTTP["host"] == "test1" { url.redirect = ("" =>…