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

How do you set up a server that will proxy traffic based on hostname?

I'm trying to setup a corollary to how google asks people to point their subdomains to ghs.google.com which then presumably directs traffic to the right servers based on hostname. My setup differs in that each subdomain will be hosted on a different…
0
votes
3 answers

PHP 5.3 and Lighttpd?

I currently have a couple of servers, running CentOS: Lighttpd/MySQL/Php5.1.x - because that's the PHP version that installs with Yum. The problem is that 5.1.x is out of date (by a long time) and in order to use the software I want (WP3.2), I need…
George
0
votes
1 answer

An Amazon EC2 "Micro" (smallest) linux instance can reliably serve a dynamic website to how many users?

How "large" of a website can one reliably host on Amazon EC2's micro instance? Running apache, nginx, lighty, I don't care. Just curious how far that $5.20/month would get you and why I should or should not go this route.
darkAsPitch
  • 1,861
  • 4
  • 25
  • 42
0
votes
1 answer

configuring lighttpd for large downloads

i run a web site that hosts pages that are just general scripts (php, etc) and mp3 downloads (some of which are fairly large - up to 200mb). i am running lighttpd on the servers on linux (ubuntu 64). everything is fine, but under high load, the…
ahmedre
  • 103
  • 3
0
votes
1 answer

lighttpd: opening errorlog failed: Permission denied

this happens when I restart the lighttpd and it backups the old log and creates new one. Is there any way so I don't have to changed permissions or ownership for that file every time the server is restarted and new log file created? the file in…
Radek
  • 1,133
  • 4
  • 26
  • 38
0
votes
1 answer

Multiple protected locations with Nginx

I am trying to secure couple of locations using the basic HTTP authentication that comes with Nginx, but for some reason it won't work. I have: website.com/admin (This is accesible by user ADMIN) website.com/admin/secret.php (This is accessible only…
Ivo Sabev
  • 177
  • 1
  • 1
  • 5
0
votes
3 answers

Optimizing fastcgi + php5

Running a debian system with lighttpd, php5, xcache and fastcgi. 2GB ram, 2 cores, less than 10% cpu load in 5 min averages peak time, less than 1GB of ram in use. The system runs a custom build webapp that scrapes flight search sites, no caching…
3molo
  • 4,340
  • 5
  • 30
  • 46
0
votes
1 answer

PHP-FPM wasting CPU 100%

I ran ab -n 100 -c 10 http://www.mywebsite.com/category/page to test the lighttpd-php-fpm performances. In this websites I have installed the last version of wordpress, the server is fast! I'm checking CPU usage with top command. I see 94-98-99%…
Dail
  • 1
0
votes
2 answers

LIGHTTPD - Page NOT found!

I have an index.php page but I continuing to get 404 not found if I digit Www.mywebsite.com/ This is the log: ... www.MYWEBSITE.com - [26/Apr/2011:09:56:33 +0200] "GET / HTTP/1.1" 404 0 "-" "Opera/9.80 (X11; Linux x86_64; U; it) Presto/2.8.131…
Damiano
  • 11
  • 1
  • 3
0
votes
1 answer

How could I manage many vhosts with PHP-FPM and LIGHTTPD?

I have installed php5-fpm and lighttpd. I want to chroot the directory of each vhost. I don't want one vhost can read other vhost's file. How to do it by FPM ? Thank you
0
votes
1 answer

How To Sync Files Across Load Balanced PHP Cluster

I just configured lighttpd web server to pass php-fcgi request to an external application server. The application server is running PHP 5.3 and spawn-fcgi. The problem is that all the web files need to exist on both the web server and the…
Justin
  • 5,008
  • 19
  • 58
  • 82
0
votes
1 answer

how can i tell if original requests are secure or unsecured using lighttpd infront of play framework?

My system is running the play framework through lighttpd. I need to know if the requests that are coming from Facebook are from https or http. Two questions: Is there any way that I can tell in my framework if the original request was from http or…
0
votes
1 answer

Where is Error Log in lighttpd?

I'm new to lighttpd, I just switched from Apache. How can I find the error log by SSH ? I've been getting some 500 Internal Server errors I want to troubleshoot.
Greatestswordsman
  • 387
  • 1
  • 5
  • 17
0
votes
1 answer

Set Response Header In Lighttpd Web Server

I am wondering how I send back a HTTP response of 501 (Not Implemented) in Lighttpd web server, when somebody tries to access our api.mydomain.com over non-ssl. The check we have, but don't see how to actually send back the HTTP response of…
Justin
  • 5,008
  • 19
  • 58
  • 82
0
votes
2 answers

Expire module configured to 0, but swf is allways loading from cache

I am trying to load an swf flash file from my lighttpd web server. expire.url "/static/swf" => "modification plus 0 seconds" However, when I reload from the web browser, chrome seems to load the file from cache. Same with firefox. In this one…
vitidandu
  • 11
  • 5