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

Ruby Passeger + Nginx or lighthttpi + fgci for shared hosting

I have set up a passenger + nginx setup and I plan to offer a free non-commercial hosting (or in fact on the fly deployment) for rack-based frameworks (e.g. camping, sinatra). I am facing an "issue" with passenger. For each application you need to…
devnull
  • 188
  • 1
  • 8
0
votes
1 answer

HAProxy and 2 webservers

I have a website that is split into two different servers: chat server in node.js normal website (lighttpd + php + whatever) now, I have set HAProxy in the same machine as node.js chat, so that when my website is accessed, it will redirect to the…
0
votes
1 answer

Lighttpd $HTTP["host"] regex matching

I've set up my config like this: $HTTP["host"] =~ "(^|\.)domain1\.com$" { fastcgi.server = ( "/domain1.py" => (( "socket" => "/tmp/fastcgi.socket", "bin-path" => "/home/domain1/serveV03.py", "max-procs" => 1, …
saibotd
  • 103
  • 4
0
votes
1 answer

lighttpd: redirect traffic from http to https on *.domain.tdl

I am using Lighttpd with a snipped i've found on the net. How to redirect all subdomains of a given domain to https without touching other domains or subdomains of domains? Currently i am doing this on the needed subdomains: $SERVER["socket"] ==…
rugar
  • 123
  • 3
0
votes
1 answer

Varnish proxy redirects from domain.com to domain.com:8080

I got Varnish on port 80 before lighttpd on port 8080 as a cache. Sometimes when I go to page http://domain.com/ I'm being redirected to http://domain.com:8080. How to prevent this ?
Spacedust
  • 568
  • 5
  • 13
  • 28
0
votes
4 answers

web servers & php

I usually code in PHP, and always used apache. I have started my own website but I soon realised that apache is not the best solution to have: it uses 15MB of memory per page, making a small server running out of memory with something like 200…
Enrico Tuttobene
  • 227
  • 2
  • 5
  • 11
0
votes
1 answer

How to setup Tomcat 6 with Lighttpd so that Tomcat6 forwards requests to Lighttpd

I have run into this scenario where I have a Rackspace VPS server running Ubuntu 10.10 with Tomcat 6 serving a moderately complex JAVA WebApp using a fixed domain. The problem is that I would like to better utilize this setup and use Lighttpd to…
DeeTewari
  • 3
  • 3
0
votes
1 answer

What's best today lighthttpd or Apache with Tomcat?

lighthttpd was hot some time ago with Tomcat. Is it still the case ? I heard apache 6 and Tomcat 6 is lightning fast ?
user46250
  • 362
  • 1
  • 6
  • 22
0
votes
1 answer

lighttpd redirect https to http

After two days of searching, I decided to ask this question here: I have extremely limited lighttpd installed on my iDevice, and I need to redirect all received https traffic to http. I don't have mod_rewrite nor do I have ssl compiled in. I came…
smaslennikov
  • 196
  • 6
0
votes
1 answer

Lighttpd doesn't read mime-type from files without an extension

I have a folder with images that I need to be lightweight hosted. So I decided to go for lighttpd. So I read that I had to add the following option in the config file: mimetype.use-xattr = "enable" It didn't work, when loading an image it was…
Zequez
  • 157
  • 2
  • 6
0
votes
2 answers

Is it possible to filter/edit web content using Apache/Nginx/Lighttpd?

Is it possible to use any of the following HTTP servers: Apache, Nginx or Lighttpd as a proxy to make the following: Disallow certain HTTP bodies (web pages) based on their content (e. g., words) Substitute certain content with another (e. g., by…
user444214
  • 111
  • 4
0
votes
1 answer

lighttpd configuration for virtual host and fastcgi

I am trying to set-up a virtual host configuration so that requests that go to /cgi-bin/iipsrv.fci are processed by fastcgi all other requests are processed by a proxy configuration So far tough, I have no clue how to achieve this -- i.e. how to…
0
votes
1 answer

Enable SSI for Lighty2Go

Lighty2Go is the portable version of the Lighttpd server. I'm required to use it for a project I am doing. I need to use SSI (Server Side Includes). I know SSI is old and slow, that is OK for this project. I know Lighty2Go/Lighttpd has support…
Freesnöw
  • 193
  • 1
  • 6
0
votes
1 answer

lighttpd auth-require on a per host base

Is it possible to use auth.require directives with host entries like the one below? $HTTP["host"] =~ "db\.example\.com$" { server.document-root = "/usr/share/phpmyadmin" server.errorlog = "/var/log/lighttpd/db.example.com/error.log" …
Morris
0
votes
3 answers

Why are my long videos longer to start playing than short ones using jwplayer and lighttpd?

I have a video streaming site with the following lighttpd configuration: server.modules = ( "mod_compress", "mod_access", "mod_alias", "mod_rewrite", "mod_redirect", "mod_secdownload", "mod_h264_streaming", …
Bite code
  • 409
  • 5
  • 17