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

587 questions
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
  • 558
  • 5
  • 12
  • 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
  • 5
  • 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
  • 147
  • 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", …
e-satis
  • 409
  • 5
  • 17
0
votes
1 answer

installing control panel on vps query

Bit of a rookie question here(possibly stupid), something I'm just not fully sure off. I have recently acquired my first VPS(ubuntu) and am looking to install a control panel(webmin). I'm just wondering, I already have lighttpd web server and mysql…
Phil
  • 1
0
votes
1 answer

Force www subdomain in lighttpd and preserve path

I would like to setup my lighttpd powered website to redirect users to the www subdomain when browsing the site without the subdomain. I would also like it to preserve the trailing URL and serve the redirect as a permanent 301 redirect. What sort of…
0
votes
1 answer

Lighttpd Rewrite Rules - ignore a directory recursively?

[Asked this on StackOverflow but this might be a better place] I'm playing around with some new experimental software - and trying to use it on something other than Apache (cause I light lighty). I have, however, run into a rewrite rule issue - I…
George
  • 1
0
votes
1 answer

Why is Nginx so slow at serving static files with this configuration, and not lighttpd?

We wanted to switch all our servers from lighttpd to nginx but while the Web server migration went fine, the static files server migration was disastrous. We ended up with up to 10 seconds of latency for loading pictures, using this config with…
e-satis
  • 409
  • 5
  • 17