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

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
  • 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…
Bite code
  • 409
  • 5
  • 17
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,931
  • 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,153
  • 4
  • 26
  • 39
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,330
  • 5
  • 32
  • 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,328
  • 19
  • 64
  • 84