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
1 answer

500 Internal Server Error with PHP application

I have written a PHP application using Windows and XAMPP. I've been trying to run it on Ubuntu 10.10 with Lighttpd 1.4.26. Parts of the application work fine, but whenever I try to log in, I get a 500 - Internal Server Error page. The only thing…
James
  • 153
  • 2
  • 9
1
vote
2 answers

Lighttpd broken when serving from Virtualbox shared folder

I've got a lighttpd web server set up on a Debian 6 guest in Virtualbox 4. I've got the www directory in a virtualbox shared folder, so that I can develop a website in the Windows host. My problem is that two otherwise identical files created by…
1
vote
0 answers

Lighttpd 403 Errors on HTML and PHP pages

I installed lighttpd on CentOS 5.5 64-bit. Everything seems fine and running except I cannot get past 403 errors on both HTML and PHP pages. I have used CHMOD and CHOWN, changed ownership in the config file, done everything possible and have been…
Brian
  • 11
  • 1
  • 3
1
vote
1 answer

Only enable SSL if equal to x remote ip

Is it possible to only enable SSL on lighttpd by checking if the remoteip requesting a page is x or x or x ip? I know this can be done in nginx, but I am trying lightTPD at the moment.
Mint
  • 476
  • 2
  • 9
  • 23
1
vote
2 answers

Allow only certain files to be exposed to the web on Lighttpd?

Just installed it on my linux desktop, and I only want 1 or 2 files accessible to the outside world. Everything else should only be accessibly via http://localhost/ for various privacy/security reasons. It is just a test server, don't want just…
darkAsPitch
  • 1,931
  • 4
  • 25
  • 42
1
vote
1 answer

Lighttpd Rewrite

I have an issue with Lighttpd Rewrite and static files. Here is my rewrite syntax: url.rewrite = ( "^/(.*)\.(php|css|js|jpg|png)$" => "$0", "^/(.+)$" => "/router.php?url=$1" ) All .css and .js files load up just fine but no images load up.…
Lark
  • 111
  • 2
1
vote
1 answer

How to host a fossil repository with lighttpd?

I have a fossil project and want to host it in a server of mine. I'm using lighttpd to serve the git interface for some other projects so using apache or nginx is out of the question. I have followed the -rather simple- instructions and given read,…
lfborjas
  • 13
  • 5
1
vote
2 answers

lighttpd: modifying / adding content to response?

for nginx there's a very nice module available to filter a response and search/replace content in it: http://wiki.nginx.org/HttpSubModule i wonder, if there's a similar possibility for lighttpd available? thanks in advance,
harald
  • 403
  • 2
  • 6
  • 19
1
vote
2 answers

SVN on Ubuntu with Lighttpd web server?

I need to install svn on Ubuntu 10.03 and Ubuntu 9.04. On both servers I use lighttpd. I found some tutorials on internet explaining which packages to install with Apache, but i actually need lighttpd. thanks
aneuryzm
  • 1,714
  • 5
  • 26
  • 41
1
vote
2 answers

Serving static web files off a non-standard port

I'm close to deploying a Django project to production. I'm looking over some infrastructure decisions. Something that came up was serving static files with a different server such as lighttpd. However, we're starting off with a single dedicated…
Belmin Fernandez
  • 10,799
  • 27
  • 84
  • 148
1
vote
2 answers

best http server application as webdav?

what is the best http server to be used as webdav for getting and posting files (big files) to from server? is it apache or lighttpd ? I will use the system as online file storage (for backup) cheers
Data-Base
  • 185
  • 1
  • 13
1
vote
2 answers

Handling http and https requests using a single port with lihgttpd

At the moment I am using http and https as different port. And based on request uri, I made a redirection rule from http to https switch and vice versa. But If I can use only a single port for https and https in lighttpd. That will be the best…
agfe2
  • 113
  • 4
1
vote
2 answers

Lighttpd: PHP_FCGI_CHILDREN correct value

I'm running Lighttpd on 256MB RAM VPS (with low estimated traffic). In order to optimize my server performances I decided to change these settings: "PHP_FCGI_CHILDREN" => "1", "PHP_FCGI_MAX_REQUESTS" =>…
aneuryzm
  • 1,714
  • 5
  • 26
  • 41
1
vote
1 answer

Are these multiple php-cgi processes normal to have?

I'm trying to understand why my server is so slow. I've run ps -ef and I found out this: www-data 29185 29184 0 11:11 ? 00:00:00 /usr/bin/php-cgi www-data 29188 29185 0 11:11 ? 00:00:01 /usr/bin/php-cgi www-data 29189 29185 0 11:11…
aneuryzm
  • 1,714
  • 5
  • 26
  • 41
1
vote
2 answers

I've installed Lighttpd on my VPS, still the webserver relies on swapping

I've lighttpd on Ubuntu 10 on a 256MB RAM VPS. My goal is to completely avoid swapping. I'm running a Drupal webste with some images, shopping cart (no videos.. quite low estimated traffic). So.. still the system is swapping memory. I was wondering…
aneuryzm
  • 1,714
  • 5
  • 26
  • 41