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

lighttpd How to allow executing fcgi programs on www folder?

This is the first time I install lighttpd and I'm having a hard time configuring fcgi to work on /var/www/site/ I keep getting 403 Forbidden and so far have only found guides specific to php or that use workarounds. What is the proper way to get…
2013Asker
  • 101
  • 1
0
votes
0 answers

Balancing server bandwith

I am working on a file uploading website. It will be run on dedicated server with 1GBPS connection. I wanna offer visitors max download speed possible at the current moment. So lets say server can produce 100mb/s for downloads. If there are 10 users…
0
votes
1 answer

Lighttpd, regex in conf, path including regex match

The background : - Lighttpd 1.4.28 - Debian 6.0.7 i686 Several developers are using this web server, and each of them has his own virtual host named after "username.mysite.tld". These hosts are working fine, and I'd like to make a generic rule for…
Httqm
  • 225
  • 2
  • 10
0
votes
0 answers

What do I set the 'socket' to in lighttpd/fcgi?

I want to configure lighttpd to run fastcgi but I'm not sure what I should set the 'socket' to. What is the socket? Surely it doesn't expect me to create a socket before the program is actually running, that's impossible.
Jeroen
  • 111
  • 5
0
votes
1 answer

lighttpd + FCGI settings

I have decided to change my projects server backend from Apache+WSGI to lighttpd+FCGI. Now, everything work fine, except one annoying problem with DOCUMENT_URI, that receives my django server (started as ./manage.py runfcgi … ). It’s always contains…
vaddsm
0
votes
4 answers

Media server and Web server -- same IP address, how do I set this up?

Hi I'm trying to build a website where users can upload images. I am wanting to have a seperate media server to host the images, so that the web application can point to the images like mediaserver.mysite.com/test123.jpg And the…
SteveM
  • 101
  • 3
0
votes
1 answer

lighttpd Regex for automatic forwarding of subdomains

I have been looking round and I have not found a good way to automatically set the document root for domains automatically. For example: In the DNS, *.mydomain.com points to mydomain.com And in the lighttpd config it uses the host variable to find…
user191974
0
votes
2 answers

Memcached concurrency w/ lighttpd php

I'm having an issue with memcached. Not sure if it's memcached, php, or tcp sockets but everytime I try a benchmark with 50 or more concurrency to a page with memcached, some of those request failed using apache ab. I get the (99) Cannot assign…
Lom
0
votes
1 answer

Remove port from the url

How can I change the url http://localhost:8080 to http://localhost in a lighttpd server.. I searched on Google, but no luck.. My current .conf file server.document-root = "/mnt/sdcard/www" dir-listing.activate = "enable" server.errorlog =…
Niket Malik
  • 103
  • 1
  • 4
0
votes
2 answers

Global and per user php.ini

On my server (lighttpd + php-cgi) I have several php-cgi processes, each running as the user of the site it's serving. I know I can set a php.ini for each process through the PHPRC enviroment variable. Unfortunately this causes PHP to only read that…
Zeta Two
  • 101
  • 4
0
votes
1 answer

How would I set up my lighttpd.conf to serve a fastcgi app on a particular evhost virtual host?

I have evhost.path-pattern = "/home/lighttpd/vhosts/%2/public" When this pattern hits a certain host, let's say 'foo', I would like to use a fastcgi server. How do I configure just one of my virtual hosts? So for foo, it should use: fastcgi.server…
0
votes
2 answers

flask, lighttpd with fastcgi can't get it to work

i'm tring to deploy a simple flask script to a lighttpd server with fastcgi. this is the configuration file for lighttpd builded using the flask documentation http://flask.pocoo.org/docs/deploying/fastcgi/#configuring-lighttpd server.modules = ( …
kurojishi
  • 113
  • 1
  • 3
0
votes
2 answers

moodle with 10 threads is slow on lighttpd

I runnnig Moodle on Lighttpd on Centos 6 with 1G RAM. If I open 10 threads to moodle then moodle starting to be very slow. How I can to speed the server? I need to serve lot of users. I checked the memory with free command ande I have lot of free…
amiad
  • 161
  • 1
  • 1
  • 7
0
votes
1 answer

lighttpd: SMP workers causing performance degrade

I am trying to increase the performance of my lighttpd system by using SMP workers for multiple cores.It turns out that instead of improving the performance it is degrading it. I dont seem to understand why this is the case. The documentation…
auny
  • 101
0
votes
2 answers

Use lighttpd to access a website over a proxy

this is going to be my very first question. At our company we are using Squid as a proxy between our intranet and the internet. Now we have the need that a software package can't handle a proxy server - it wants direct internet access. So my idea…
mf6190
  • 1
  • 2