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

learn more… | top users | synonyms

-1
votes
0answers
12 views

Lighttpd perdirectory newrelic settings

I have a domain in my lighttpd+php5-fpm server to setup newrelic and associate with. Newrelic is installed. My /etc/php5-fpm/conf.d/newrelic.ini settings is: extension=newrelic.so newrelic.appname ...
0
votes
3answers
58 views

Can Apache, nginx and lighttpd coexist in a Ubuntu system?

Just for learning and testing, I've installed these three different web servers, I've also installed mysql and php5. I changed the DocumentRoot for each to /var/www/apache, /var/www/nginx and ...
0
votes
1answer
28 views

Redirect with lighttpd and fastcgi on Django App

I have setup my lighttpd in a fashion which redirects all subdomains to my primary domain in following fashion * .domain.com -> domain.com. Unfortunately when i type in a subdomain such as ...
1
vote
1answer
47 views

Redirect all subdomains to main domain with lighttpd and regex

Is it possible to redirect all *.domain.com to my domain.com? I have been messing around with the Regex but without any luck: $HTTP["host"] =~ ".*\.domain\.com" { url.redirect = ...
0
votes
0answers
22 views

Using FastCGI can bypass the Lighttp POST cache?

I'm building a web service to configure an embedded device, and it should support firmware upload. That said, I have very limited RAM and storage to upload a file that's nearly 30% of the whole flash. ...
0
votes
1answer
18 views

Lighttpd wrong config file syntax

Been trying for hours but just can't seem to get the correct syntax in my lighttpd configuration. As a last resort I am now asking the hive mind of server fault :P I am trying to get trac hosted on ...
0
votes
1answer
40 views

lighttpd server not serving images, js or css files

I am given a try to lighttpd. I configured a server with the instructions I found here. Below my configuration file: server.document-root = "<my_site_directory>" server.port = 4000 ...
1
vote
1answer
53 views

SELinux policy issue

As qemu & KVM are working fine with SELinux out of the box I'd like to enable SELinux to improve guest isolation on my CentOS 6 server. The problem is that I'm using a 3rd parity virtualization ...
1
vote
1answer
31 views

lighttpd behind pound gets “connection timed out” error when using browser other than Chrome

Please help me diagnose a problem. I had a working website (WordPress) for the last 6 months working just fine. No updates or new installations have been made in the server. Today users complain ...
0
votes
1answer
35 views

convert lighttpd to nginx rewrite rules

I'm trying hard to make my code work on nginx. This configuration works with lighttpd but I want migrate it to nginx. Rewrite rules on lighttd : url.rewrite-once = ( "^/(ui)/(.*)$" => ...
0
votes
1answer
32 views

Rewrite rules for Anchor CMS on Lighttpd

I installed Anchor CMS on my server running Lighttpd, and I am trying to setup pretty url's. I have anchor installed in a sub-directory "/blog". The htaccess file that works with anchor cms in ...
0
votes
2answers
50 views

Use fasterize.com : redirect to “http://www” except for one page in https (with lighttp)

I use the awesome front end optimizer fasterize.com , which requires www subdomain. Also I have a payment page that I would https without using fasterize, so on another subdomain. I use lighttpd, I ...
0
votes
1answer
30 views

Serving image content over https, must encryption strength match that of the main website?

Im looking at migrating my website to https throughout. I have a server responsible for the HTML/PHP, and 4 other servers which serve image content Now clearly all the image servers need to be https ...
0
votes
1answer
20 views

How do I configure lighttpd to serve static documents and proxy requests to a cluster of Rails app servers?

I'm trying to configure lighttpd so that it serves static documents of my Ruby on Rails app, and also routes requests to my Ruby on Rails app servers. This is the configuration I have so far: ...
0
votes
0answers
27 views

lighttpd max request size for specific URL

I'd like to put a low limit on users' uploads with exception of a single URL subtree where users are expected to upload bigger files. I used this: $HTTP["url"] !~ ".*/path/to/big/files/upload/.*" { ...
0
votes
1answer
49 views

HAProxy: ACL to forward to different webservers based on directory

basically I have a raspberry pi with multiple webserver daemons on different ports, to be specific lighttpd, apache, and the ADAFruit WebIDE. Basically here are the ways i need it to work[how would ...
0
votes
0answers
51 views

Lighttpd reverse proxy authentication

I have configured lighttpd as a reverse proxy to an internal webserver (wthttpd) on the same device. However I need to authenticate users first using php. The content served will be non-static, ...
0
votes
1answer
69 views

Browser based SSH [closed]

I have a small debian server colocated which hosts a domain and a single flat file site via lighttpd. For a variety of reasons I'd like to be able to run ssh in browser (without a browser plugin) via ...
-1
votes
1answer
73 views

lighttpd 403 forbidden jpeg image access

I am running a stock lighttpd installation with no configuration changes. Client sees a 403 forbidden error trying to access static images (even from an img tag on a static page). Nothing in the logs ...
0
votes
0answers
112 views

503 error while setting up PHP-FPM with lighttpd

I am trying to install Lighttpd on a Centos 6.4 server with PHP5 support (through PHP-FPM) and MySQL support. I followed the tutorial to the letter as given on ...
1
vote
0answers
34 views

How to convert RewriteCond rules so they work in Lighttpd?

How can I convert this Apache rewrite rules so they work on Lighttpd? This is in fact a .htaccess file, and I need to put those in a lighttpd.conf file. Options +FollowSymLinks RewriteEngine on ...
0
votes
0answers
47 views

How to convert this .htaccess to Lighttpd?

I converted .htaccess below to Lighttpd but it doesn't work. What mistake did I make? You can find original .htaccess below, and the file I converted below it. Original .htaccess: RewriteEngine On ...
0
votes
0answers
223 views

Lighttpd, Error with upload, [413 - Request Entity Too Large]

I posted thread on Ubuntu forums couple of months ago but I never got any responds from them... So today I replied there and posting a new thread here, since I have a feeling I wont get a reply there ...
0
votes
1answer
39 views

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

HAproxy 503 Service Unavailable No server is available to handle this request

I'm new to this load balancing scenario and I'm being tasked to figure out how to make this load balancing works. My environment: Centos 6.4 64 Bit Webserver: Lighttpd All running in ESXI virtual ...
1
vote
1answer
72 views

How to redirect URLs without break a FastCGI app?

(I consider this question a duplicate of Lighttpd redirect from www.domain.com to domain.com, but that one didn't get enough attention and it's too old). I'm trying to deploy an app over ...
0
votes
0answers
37 views

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

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

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

nginx to lighttpd detecting request headers

I'm moving a site form Nginx to Lighttpd. I was able to move everything except these nginx rules set $enc_type ""; if ($http_accept_encoding ~ gzip) { set $enc_type .gzip; } if (-f ...
-1
votes
2answers
128 views

on debian, lighttpd apache2 using 80 port, lighttpd throws :address already use error [closed]

I bought the linode(linode.com) server the other day. I've been trying to run lighttpd and apache2 at the same port, using lighttpd for static files. As linode is only providing ONE ipv4 address, I ...
1
vote
0answers
24 views

Lighttpd user directories with individual user processes

I have enabled user directories (mod_userdir) for my lighttpd server but I don't really know how different user processes can be spawned when php files in these directories are ran. The user's ...
1
vote
1answer
83 views

Lighttpd won't start when fastcgi.debug directive is used

I'm running lighttpd/1.4.28 (ssl) on Ubuntu 12.04 LTS. Everything's working, and I'm trying to do some performance tuning. I'd like to enable debug mode for the fastcgi module, however when I add ...
1
vote
1answer
456 views

Unable To Activate User Directories In Lighttpd

I am using Debian 7 based host and configure PHP-FPM and lighttpd along with rutorrent on this host. I wants to use user directories instead of default /var/www path. I already run following command ...
0
votes
1answer
59 views

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

After Enabling User Directories On Lighttpd I Got Failed After Restart Lighttpd Server

I am using Debian 7 64 as host, And i installed Lighttpd and PHP-FPM with mysql support, After fresh installation of lighttpd and PHP-FPM, I tried to enable user directories and i run following ...
1
vote
0answers
25 views

lighttpd access control affecting subdirectory trees sibling to a htpasswd file

Suppose I have a htdocs directory tree served by lighttpd htdocs htdocs/foo htdocs/foo/spam htdocs/foo/eggs htdocs/foo/eggs/stirred htdocs/foo/eggs/fried htdocs/bar htdocs/bar/bacon Now I'd like to ...
0
votes
1answer
61 views

Remove port from the url [closed]

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" ...
0
votes
0answers
51 views

mod_proxy when no file exists for request

I have a lighttpd server where static files will be generated by a NodeJS process. The Node server will be running express on port 3000 (same computer). I would like lighttpd to serve the static ...
0
votes
0answers
37 views

Architecting webserver (NginX/Lighttpd/Apache) with couchbase

I have this architectural question that I'm hoping some of you can share with me. In your past experience, which scenario works better for high load application/dbase server. I'm using Couchbase as a ...
1
vote
1answer
39 views

lighttpd rate limits per directory

I'm creating a site with a large number of small tools. One is a tool which uses a Python cgi-script that interacts with the Natural Language Toolkit (nltk), which is disk and CPU intensive. I have ...
0
votes
0answers
85 views

Replace header Host in lighttpd, when proxying

How do you replace the Host header of a request in lighttpd? I know of mod_setenv, which can add a Host header. I've tried to use the following configuration: setenv.add-request-header = ( "Host" ...
0
votes
2answers
56 views

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 ...
1
vote
0answers
140 views

Lighttpd init script doesn't work on Debian Wheezy

[EDIT] I have found why it did not work, I just had to add the directive server.pid-file = "/var/run/lighttpd.pid" to the lighttpd.conf file. I can't figure out why the lighttpd ...
0
votes
2answers
349 views

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

Change default kloxo webserver manually

I changed my default web server in kloxo panel (switch program) from apache to lighttpd and then I get "500 internal server error" and I don't have any access to kloxo panel to change lighttpd to ...
0
votes
2answers
151 views

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

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

lighttpd mod_auth using LDAP

I've setup lighttpd to use an ldap backend like so: auth.debug = 2 auth.backend = "htdigest" auth.backend.ldap.hostname = "ldap.xxxxx.com" auth.backend.ldap.base-dn = ...
0
votes
0answers
25 views

lighttpd on win32 - symlink equivalent?

I have lighttpd running on a windows 7 box. Is there a way to emulate symlink behavior? Say my document root is at D:\www\docs. And suppose that some files I want to have in my web server's file ...