Lighttpd ("lighty") is a fast open source web server, optimised for speed critical environments

learn more… | top users | synonyms

2
votes
1answer
246 views

lighttpd and mod_proxy with PHP

I am trying to create a rather complex setup using a combination of lighttpd, some custom Ruby proxies, rails/ramaze (running on Thin), and PHP. Currently it is setup like this: A browser issues the ...
0
votes
2answers
528 views

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 ...
0
votes
1answer
227 views

lighttpd with multiple IPs, each with a UCC certificate and many hostnames

I'd like to get lighttpd working with UCC certificates, but I can't seem to figure out the correct syntax. Essentially, for each IP address, I have one UCC certificate and a bunch of hostnames. ...
0
votes
2answers
285 views

Using Lighttpd: apache proxy or direct connection?

I'm optimizing a site by using lighttpd for the static media. I've found that a recommended solution is to use Apache Proxy to point to the lighttpd server. But, does that use up an Apache ...
2
votes
2answers
353 views

What would be better in my case - apache, nginx or lighttpd?

I'm writing a PHP site that's expected to get about 200-300 concurrent users browsing it. When initializing the application will load about 30 PHP classes, some 10 maybe 15 images and a couple of css ...
2
votes
2answers
949 views

Webserver logs: “Morfeus F***ing Scanner”

I've just found these accesses in my web server log files: ::ffff:218.38.136.38 109.72.95.175 - [10/Jan/2011:02:54:12 +0100] "GET /user/soapCaller.bs HTTP/1.1" 404 345 "-" "Morfeus Fucking Scanner" ...
0
votes
1answer
252 views

Lighttpd Rewrites & Blank page

I have configured some lighttpd rewrites, of which one does not work. This is the line that does not work as it should and causes a white (blank) page to be thrown: url.rewrite-once = ( ... ...
0
votes
1answer
499 views

Why is lighttpd and fastcgi keeping sending me the *.scgi file instead of the website content?

I have the following config: server.modules = ( "mod_compress", "mod_access", "mod_alias", "mod_rewrite", "mod_redirect", "mod_secdownload", "mod_h264_streaming", ...
1
vote
2answers
661 views

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 ...
0
votes
1answer
138 views

Installing APC on a server with little ram

I'm going to install APC on my server to enhance Drupal performances, however I've read on internet that if I have little ram it might be a risk, and performances could get worse. I have 256MB ram, ...
0
votes
1answer
164 views

Drupal + Lighttpd: enabling clean urls (rewriting)

I'm emulating Ubuntu on my mac, and I use it as a server. I've installed lighttpd + Drupal and the following configuration section requires a domain name in order to make clean urls to work. Since ...
0
votes
1answer
134 views

How can I set clean urls (enable rewrite) if I don't have a domain?

In order to enable clean urls in Drupal, I add the lines below to the lighttpd configuration file. However I'm now working on a local server and I don't have a domain available. So I need to work ...
1
vote
2answers
158 views

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. ...
1
vote
1answer
404 views

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) ...
0
votes
2answers
365 views

How to get rid of webmin environment variables in PHP

I installed lighttpd with fast-cgi. Then I installed webmin. It appears webmin has taken over the lighttpd install and changed the PHP configuration to add a bunch of their own environment variables ...
0
votes
1answer
309 views

Lighttpd passing url as argument to perl cgi script instead of trying to find file

So I am running lighttpd and am in the process of hacking together a simple pastebin-like scipt. I have set up pb.domain.blah to run a perl cgi script (it is set in index-file.names) and was ...
0
votes
2answers
164 views

lighttpd folder/site specific config files

I've been researching what I'm sure is a very simple task. Coming from .htaccess to lighttpd.conf, I'm sure I am still missing some important concepts. I am using lighttpd for a number of virtual ...
0
votes
1answer
657 views

php curl extension problem, ubuntu

i've installed (as root) aptitude install curl php5-curl libcurl3 libcurl3-dev and added extension=curl.so to my php.ini (i assumed this wasn't done automatically because i'm using Lighty and not ...
1
vote
2answers
305 views

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 ...
0
votes
1answer
841 views

Why does everybody mentions Apache/NGINX/Lighttpd… but not YAWS [closed]

I see a lot of comparisons between Apache, NGINX, Lighttpd, Cherokee ... but never a comparison with the YAWS webserver written in Erlang. Maybe there is a reason for this? Or maybe YAWS deservers ...
0
votes
1answer
63 views

Lighttpd: What are these multiple log files?

I went into the log folder of my lighttpd server and I found several files: access.log access.log.4.gz error.log error.log.2.gz access.log.1 deluxeorganics error.log.1 I was ...
0
votes
1answer
217 views

Errorlog, accesslog, slow query log, execution time log, traffic and req per sec into one tool?

I'm searching for a tool designed for LAMP server that combines server Error log, Access log, slow query log, takes time of execution of PHP scripts,traffic and req per sec statistics (for example ...
5
votes
3answers
834 views

How to comment multiple lines in Lighttpd config file?

In lighttpd.conf usually comment 1 line with # How was wondering how to comment multiple lines without adding # in front of each line. thanks
0
votes
1answer
244 views

SSL certificate doesn't work. Cannot connect to https://mydomain.com

I've setup a SSL certificate on lighttpd, on Ubuntu 10. The issue is that when I try to access to https://mydomain.com I get "impossible to connect". If I use http://mydomain.com, it works perfectly. ...
0
votes
1answer
130 views

How can I assign a dedicated ip to a specific path on my server?

I'm using Lighttpd and it works great. I need to point the dedicated ip provided by my hosting service to a specific website on my VPS . 1) If I browse to the dedicated ip, I currently get an error ...
1
vote
2answers
2k views

Can I set multiple SSL certificates for virtual hosts with Lighttpd?

Can I set multiple SSL certificates for virtual hosts using Lighttpd web server? I have several webshops on my server (each webshop has its own domain) and I need to setup a SSL certificate for each ...
1
vote
2answers
2k views

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", ...
0
votes
3answers
202 views

real-time server connections monitor

Is there any way to see in real-time the connections to my server and through which domains ? Without having to inspect the access.log file, I would like to run a monitor in the shell instead. ...
1
vote
1answer
331 views

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 ? ...
0
votes
1answer
418 views

How can i setup a domain pointing to a specific php page of my Drupal website?

I need to redirect a domain to a specific section in Drupal. My DNS works, Drupal works. Creating virtual host on my webserver: $HTTP["host"] =~ "www.mywebsite.com" { server.document-root = ...
0
votes
1answer
240 views

Virtual hosting in Lighttpd doesn't work

I'm configurintg virtual hosting on lighttpd. For some reason only 1 virtual hosting work and the other doesn't. This is the configuration: #this doesn't work (just a html file) $HTTP["host"] =~ ...
1
vote
2answers
201 views

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.. ...
0
votes
3answers
715 views

Lighttpd: Enabling module rewrite for Drupal

I'm configuring lighttpd (1.4.26) for drupal on Ubuntu 10 and I've some issues with the rewrite module. So far I have enabled the rewrite module in lighttpd.conf Then, I have added the following ...
1
vote
2answers
1k views

Lighttpd restart and force-reload commands

What is the difference between the following sudo /etc/init.d/lighttpd restart and /etc/init.d/lighttpd force-reload ?
0
votes
3answers
264 views

Running Drupal on lighttpd

If I run Drupal on lighttpd webserver, I still have all features or I'm going into some limitations ? For examples, what could be the major issues or any drawback to use it together with Drupal ? ...
0
votes
2answers
415 views

Lighttpd Virtual Hosts on Windows Server 2008

I've been running Windows Server 2008 very happily on my server for two months now, but only for one domain. Now that I have two sites to host I would like to set up virtual hosts. I've remove the ...
0
votes
2answers
348 views

Lighttpd: requesting local URLs via PHP

I have a webserver which serves content for a site, let's call it "domain.com". On that site, I have several PHP scripts that serve content. When someone browses to that site, everything works. If I ...
2
votes
1answer
1k views

How to remove response header in lighttpd configuration

There is mod_setenv for adding: setenv.add-response-header = ( "Header" => "value" ) But I can't find anything to remove response headers. I have to be sure, that my content is not cached by ...
0
votes
2answers
1k views

Setting up simple vhost on lighttpd

I've recently installed Lighttpd on Ubuntu 10.04. I used the standard concfig file without modification and placed my content in /var/www. I opened a browser typed in the URL www.myexample.co.uk and ...
1
vote
3answers
627 views

View httpd/lighttpd modules that are installed on shared hosting

I don't have access to the httpd.conf file on this shared host, but I wanted to see which modules are enabled/installed. Is there a (easy) way to find out without access to the httpd.conf file? For ...
2
votes
2answers
720 views

lighttpd eating all memory and CPU

So my lighttpd was running fine for more than a year. Two days ago I decided to install Wordpress 3.0.1 (PHP was already in use by other tools). So after some hours of very few hits (i might get 10 ...
1
vote
1answer
811 views

Can not restart lighttpd? Receiving strange errors with regards to fcgi?

I received the following error when I tried to restart lighttpd. I'm running a rails application, and when I deploy a new version of the site I usually do /etc/init.d/lighttpd restart This used to ...
2
votes
1answer
382 views

Analyzing a loaded lighttpd server serving from NFS

Context: Server is a CentOS 5.2 x86_64 virtual machine with vmxnet3 ifaces, running on VSphere 4.1 on a Nehalem-based server (which is at half cpu and memory capacity according to the VCenter) with ...
0
votes
1answer
155 views

centos server - basic troubleshooting steps

I have a VPS server running CentOS - it's been great for about a year but has just got a little flaky, going down every couple of days and requiring a reboot. I was hoping you could offer me any ...
1
vote
2answers
2k views

Lighttpd 403 forbidden errors

I'm in the process of replacing Apache with Lighty and I'm having some trouble. The index of the page loads fine, but whenever I try to go into a subdirectory I will get a 403 forbidden error. It ...
4
votes
4answers
664 views

Server setup for image storage

I need to store 25M Photos in 4 sizes = total 100M Files, the filesize will vary between 3Kb and 200 kb per file and the used storage at beginning is about 14-15 TB. Our goal is to have the data on ...
0
votes
3answers
306 views

sub domain in lighttpd

i need to update an subdomain in my dns and lighhtpd conf i tried the dns as example.test.org IN A (my ip address) in my dns and my lighttpd conf goes here $HTTP["host"] == ...
0
votes
3answers
149 views

Lightttpd Rewrite

How can I rewrite www.domain.de/news/news_944836.html to www.domain.de/news_944836.html in Lighttpd? All my Trys didn´t work :(
1
vote
1answer
3k views

How can I debug what's causing lighttpd errors with fastcgi?

I tried enabling mod_fastcgi in my lighttpd server (running on Ubuntu), with the following config (straight from the example in conf-available): fastcgi.server = ( ".php" => (( ...
0
votes
1answer
272 views

Lighttpd redirect from www.domain.com to domain.com

I need to permanently redirect all www.domain.com to domain.com in Lighttpd. Here's relevant part of my lighttpd.conf: $HTTP["host"] =~ "^www\.domain\.com$" { url.redirect = ( "^/(.*)" ...