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

How to increase simultaneous requests for LIGHTTPD

I have Red Hat 6 and I've installed Lighttpd + MySQL and at the moment in getting 500 internal server error, logs shows that I have arround 2000 requests / sec, while as soon as requests drop below 1000 websites starts to load again. I wonder how…
ProDraz
  • 231
  • 1
  • 4
  • 10
0
votes
1 answer

Rule of thumb in RAM estimate for static pages?

Possible Duplicate: How do you do Load Testing and Capacity Planning for Web Sites I've seen tutorials saying they can run decent websites on 64MB RAM (Debian/Lighttpd/PHP/MySQL) however it's not clearly defined how much hits/traffic a "decent"…
IMB
  • 499
  • 2
  • 7
  • 13
0
votes
2 answers

lighttpd redirect certain links to certain urls

Could someone tell me how / why is this redirect not working? $HTTP["host"] =~ ".*\\.mydomain\\.com" { url.redirect = ( "/index\.php\?pg=mysql" => "http://mydomain.com/lean-webhosting/mysql-clustering/", …
Valentin Bajrami
  • 3,870
  • 1
  • 17
  • 25
0
votes
1 answer

lighttpd+apache

So lately I heard about people running apache and nginx together, nginx for static content and apache for dynamic. Can the same be done with lighttpd and apache?
teeiger
  • 3
  • 2
0
votes
1 answer

Making lighttpd redirect from www.example.com to www.example.com/cgi-bin/index.pl

What the title says.. www.example.com is defined in lighttpd.conf as a virtual host: $HTTP["host"] =~ "(^|\.)example.com$" { server.document-root = "/usr/www/example.com/http" accesslog.filename =…
Jarmund
  • 535
  • 1
  • 6
  • 16
0
votes
3 answers

Can't access a local site site on LAN

I have lighttpd setup on a machine (say ip is 10.107.105.13) with following details. inet addr : 10.107.105.13 Bcast : 10.107.111.255 Mask : 255.255.240.0 I can access my site on this computer by using firefox http://localhost/index.html. Now I am…
Dilawar
  • 119
  • 6
0
votes
1 answer

Confused! php-cgi opened (and didn't close) a UDP "connection" ...but isn't UDP connectionless?

This question is more for my own education than to solve any problem. I am running a VPS at linode w/ lighttpd and PHP 5.3.13 via fast-cgi. When I list internet connections, I get this strange creature: # lsof -i COMMAND PID USER FD TYPE…
0
votes
2 answers

load balanced server farm in php with sql

What is the best configuration for a load balanced server farm for a high demand download web page that uses php and mysql. I have servers that currently use centos with lightppd. Has anyone got experience of what software is the best etc, or a…
0
votes
1 answer

lighttpd CPU utilization fails to decrease when load reduced

I have a lighttpd server which easily handles about 800 concurrent connections. But there seems to be a problem: When the number of users grows, the CPU utilization grows as well, until a limit is reached at about 90%. The problem is when the number…
0
votes
1 answer

Should I switch from lightty to nginx?

I've been using lightty/lighttpd for about two years, and have had no problems. I occasionally have to restart lighttpd to regain some memory but other then that I love the config files and how minimal config is necessary to make everything…
Kyle
  • 351
  • 1
  • 2
  • 8
0
votes
1 answer

Lighttpd can not start when including mod_rewrite

Here is my server modules list (modules.conf), its working without any problems, and lighttpd is running correctly while using this list: server.modules = ( "mod_access", # "mod_alias", # "mod_auth", # "mod_evasive", # "mod_redirect", # …
Cyclone
  • 250
  • 1
  • 6
  • 20
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