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
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
  • 10
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
  • 10
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
  • 521
  • 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
  • 5
0
votes
1 answer

lighttpd How to allow executing fcgi programs on www folder?

This is the first time I install lighttpd and I'm having a hard time configuring fcgi to work on /var/www/site/ I keep getting 403 Forbidden and so far have only found guides specific to php or that use workarounds. What is the proper way to get…
2013Asker
  • 101
  • 1
0
votes
0 answers

Balancing server bandwith

I am working on a file uploading website. It will be run on dedicated server with 1GBPS connection. I wanna offer visitors max download speed possible at the current moment. So lets say server can produce 100mb/s for downloads. If there are 10 users…
0
votes
1 answer

Lighttpd, regex in conf, path including regex match

The background : - Lighttpd 1.4.28 - Debian 6.0.7 i686 Several developers are using this web server, and each of them has his own virtual host named after "username.mysite.tld". These hosts are working fine, and I'd like to make a generic rule for…
Httqm
  • 205
  • 2
  • 8
0
votes
0 answers

What do I set the 'socket' to in lighttpd/fcgi?

I want to configure lighttpd to run fastcgi but I'm not sure what I should set the 'socket' to. What is the socket? Surely it doesn't expect me to create a socket before the program is actually running, that's impossible.
Jeroen
  • 111
  • 5