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

What are the advantages of using dedicated server software over framework built-in servers?

Being a beginner in the web world, I've always used Apache to develop applications in PHP. Getting tired of it, I learned Node.js, Rails and Django -- just to get a taste of each of the most used web frameworks nowadays. All of them have built-in…
gchiconi
  • 111
  • 3
0
votes
1 answer

Upgrade Lighttpd 1.4.28 to 1.4.35 on Ubuntu 12.04

I am using Ubuntu 12.04 and installed Lighttpd using: sudo apt-get install lighttpd this installed version 1.4.28. I downloaded the source files for 1.4.35 (latest) from the Lighttpd site and installed using: cd /lighttpd-1.4.35/ ./configure…
0
votes
1 answer

CGI scripts are not working on lighttpd with SSL

CGI scripts worked perfectly, while I was using HTTP. Then I set redirecting for all traffic through https and now CGI doesn't work at all (404 - not found). I use lighttpd server. Here is the part of lighttpd.conf for redirect: $SERVER["socket"]…
miloserdow
  • 111
  • 3
0
votes
1 answer

Lighttpd rewrite rule for Flight PHP microframework

I'm using the Flight PHP microframework, and it includes its' own router, and needs the server to rewrite requests to the index.php file. It features rewrite-rules for both Apache and Nginx but unlucky me, I'm using lighttpd in production, and I'm…
Henrik
  • 103
  • 1
0
votes
0 answers

How can I set up a web server for reverse proxy having websockets and socket.io working normally?

I have a VPS currently hosting node.js web apps and one site. However I'm currently using custom ports for the apps. I'd like to simply give each its custom domain and so for more sites, that would mean they all would go to port 80 by default. As I…
diegoaguilar
  • 159
  • 1
  • 3
  • 10
0
votes
3 answers

Can Apache, nginx and lighttpd coexist in a Ubuntu system?

Just for learning and testing, I've installed these three different web servers, I've also installed mysql and php5. I changed the DocumentRoot for each to /var/www/apache, /var/www/nginx and /var/www/lighttpd and works correctly. Of course I also…
diegoaguilar
  • 159
  • 1
  • 3
  • 10
0
votes
1 answer

Redirect with lighttpd and fastcgi on Django App

I have setup my lighttpd in a fashion which redirects all subdomains to my primary domain in following fashion * .domain.com -> domain.com. Unfortunately when i type in a subdomain such as www.domain.com it goes directly to…
JavaCake
  • 111
  • 3
  • 11
0
votes
1 answer

Redirect all subdomains to main domain with lighttpd and regex

Is it possible to redirect all *.domain.com to my domain.com? I have been messing around with the Regex but without any luck: $HTTP["host"] =~ ".*\.domain\.com" { url.redirect = ("^/(.*)" => "http://domain.com/$1") } $HTTP["host"] =~…
JavaCake
  • 111
  • 3
  • 11
0
votes
1 answer

Lighttpd wrong config file syntax

Been trying for hours but just can't seem to get the correct syntax in my lighttpd configuration. As a last resort I am now asking the hive mind of server fault :P I am trying to get trac hosted on the lighttpd server and keep php working at the…
Boelensman1
  • 118
  • 4
0
votes
1 answer

convert lighttpd to nginx rewrite rules

I'm trying hard to make my code work on nginx. This configuration works with lighttpd but I want migrate it to nginx. Rewrite rules on lighttd : url.rewrite-once = ( "^/(ui)/(.*)$" => "/gi.php/$1/$2", "/(.*)\.(.*)" => "$0", "/(xhr|js-api)/(.*)"…
0
votes
2 answers

Use fasterize.com : redirect to "http://www" except for one page in https (with lighttp)

I use the awesome front end optimizer fasterize.com , which requires www subdomain. Also I have a payment page that I would use HTTPS without using fasterize, so on another subdomain. I use lighttpd, I already have a good redirection for all pages.…
Julien D
  • 103
  • 2
0
votes
2 answers

Serving image content over https, must encryption strength match that of the main website?

Im looking at migrating my website to https throughout. I have a server responsible for the HTML/PHP, and 4 other servers which serve image content Now clearly all the image servers need to be https to prevent browser warnings, but I wonder.. Is…
carpii
  • 541
  • 2
  • 4
  • 12
0
votes
1 answer

HAProxy: ACL to forward to different webservers based on directory

basically I have a raspberry pi with multiple webserver daemons on different ports, to be specific lighttpd, apache, and the ADAFruit WebIDE. Basically here are the ways i need it to work[how would you best write the config…
0
votes
1 answer

Browser based SSH

I have a small debian server colocated which hosts a domain and a single flat file site via lighttpd. For a variety of reasons I'd like to be able to run ssh in browser (without a browser plugin) via HTTPS. I will need to create a self signed…
Dr.Avalanche
  • 133
  • 1
  • 1
  • 13
0
votes
0 answers

Lighttpd, Error with upload, [413 - Request Entity Too Large]

I posted thread on Ubuntu forums couple of months ago but I never got any responds from them... So today I replied there and posting a new thread here, since I have a feeling I wont get a reply there again... Here is the thread on board…
Cokaric
  • 21
  • 1
  • 5