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

Return HTTP 204 with just Lighttpd

I have an app that uses lighttpd to log requests to a pixel, but the client doesn't need any response. Currently the requests map to a small static image. Is there a way to configure lighttpd to respond to these requests with a 204 header without…
yacomink
  • 113
  • 5
1
vote
1 answer

What is the overhead when redirect through mod_proxy

I have an API that used to run on Apache but now is served via lighttpd. I can easily switch the API URL in the app to the lighty port like api.net:81. I wonder if I should use mod_proxy instead to have cleaner urls. There is no redirect for…
ivoba
  • 113
  • 4
1
vote
1 answer

When restarting ligttpd, how do I get fastcgi php-cgi's to restart

I'm running lighttpd with php5-cgi. Running /etc/init.d/lighttpd restart does not cause the php-cgi processes to restart. Should I just killall them, or is there a more appropriate way to get them to restart?
fratrik
  • 111
  • 3
1
vote
1 answer

Need help starting lighttpd

Today I installed lighttpd on my CentOS 5.6 machine attempting to replace httpd. The things I did: yum install lighttpd nano /etc/lighttpd/lighttpd.conf I set the document root to my files service lighttpd start -- [root@forums ~]# Starting…
Kyle
  • 351
  • 1
  • 2
  • 8
1
vote
1 answer

Should I use lightttpd or nginx for an ubuntu VPS?

I'm working on setting up a VPS, and I'm not about to go with slow apache. I'm looking into lighttpd and nginx, but I don't know which one to go with. I'm running Ubuntu 10.04 on an OpenVZ VPS My VPS has these resources: 40 GB disk space 1.5 GB…
Sam Bloomberg
  • 249
  • 1
  • 2
  • 13
1
vote
1 answer

PHP-FPM chroot mistake

I'm using lighttpd and php-fpm. The .php script are processed with with the correct user permission, I see the result on my browser. At the moment all run correctly if i comment chroot= option on PFM conf file. if i add it, I always get 404 not…
Damiano
  • 11
  • 1
1
vote
1 answer

PHP-FPM doesn't process php request

I have a strange situation, I have installed lighttpd and php5-fpm through aptitude I've created one vhost and the and the fpm pool. This is the main.conf (global FPM) [global] pid = /var/run/php-fpm.pid error_log =…
Damiano
1
vote
1 answer

LIGHTTPD - How to set the vhost's permissions

I would like to run many VHOSTS with my lighttpd webserver. I don't know how to chroot each vhost. At the moment all the vhosts can read files owned by other vhosts, I don't think it's really sure! Is there something you could advise? At the moment…
Damiano
  • 11
  • 1
  • 3
1
vote
1 answer

How to convert this .htaccess for LIGHTTPD?

I have this .htaccess RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] How can I convert it to run my website through Lighttpd ? Thank you so much!
Damiano
1
vote
1 answer

Issue when moving from Apache to Lighttpd

This might not be the right place, but we think its narrowed down to a Lighttpd config issue on our end, just cannot pinpoint. Asked in Virtuemart and Lighttpd forums with no luck. We have a live site on Apache and wanted to go over to Lighttpd…
Brian
  • 11
  • 1
1
vote
0 answers

Updating .po files without restarting lighty

We are running PHP with gettext on the lighttpd web server. When we update the .po/.mo files with new translations, we have to restart lighty for the new translations to appear. Is lighty caching the translations? Anyone know how to avoid restarting…
pthulin
  • 111
  • 2
1
vote
1 answer

Reverse Proxy redirection based on hostname

Here's my setup: Windows Server (2003) receives all traffic for *.mydomain.com, which (up to now) redirects all incoming port 80 traffic to a Linux VM (using VMWare virtual network manager). I now need to setup another website on this server, using…
1
vote
1 answer

Will using Apache's ProxyPass directive on persistent Ajax connections alleviate the connection limit error?

I've got some javascript that keeps a persistent Ajax connection open for each client, and I know that this can cause some serious issues for apache, but not for lighttpd. One thing I learned from researching how to get around this was how to use…
naurus
  • 13
  • 2
1
vote
1 answer

lighthttpd proxy reverse proxy

I have been looking for good easy to use examples for lighthttpd proxy reverse proxy. My idea is to take domain example.com and forward/reverse proxy to ip 192.168.0.1 port 80, whether it is a tomcat server or apache web server. Or even to take…
Riaan
  • 421
  • 5
  • 13
1
vote
2 answers

High request time

I've got high execution time of HTTP request (ex. 42KB in 13s). I'm using haproxy to load balance traffic. Static files are server by lighttpd behind varnish accelerator. So... it should be served below the speed of light…
csgwro
  • 61
  • 6