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

learn more… | top users | synonyms

-1
votes
1answer
232 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
317 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
52 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
614 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
115 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 ...
1
vote
1answer
4k 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
227 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
39 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
115 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
24 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 ...
-1
votes
2answers
243 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
30 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
297 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
2answers
1k 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
96 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
522 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
54 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
113 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
107 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 ...
1
vote
1answer
66 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
2answers
65 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
281 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
776 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
2answers
219 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
63 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
466 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
35 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 ...
0
votes
0answers
78 views

Lighttpd & Scientific Linux

Not sure if this is the best place to ask a general question ... (please feel free to delete it if it's not appropriate for this forum. or let me know if there's a more appropriate forum, thanks) At ...
0
votes
2answers
327 views

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

How does lighttpd/nginx determine filetype of a file? (which method?)

I want to configure my lighttpd to serve some static files, with compression capability. The files are plain text but they have .bin extension. I have these lines in my lighttpd configuration: ...
0
votes
0answers
207 views

Mono FastCGI takes forever to process requests with lighttpd

Alright, for some reason I've decided to try and get ASP.NET working on OpenBSD, because why not? I've settled on lighttpd as I really mucked up nginx bad and they don't ship mod_mono for Apache ...
0
votes
1answer
147 views

epoll timeout configuration in lighttpd

Is there a configuration option to tune epoll timeout in lighttpd? I'm developing an embedded Linux (2.6) device, with lighttpd 1.4.30. And I'm observing the following issue: even when the system is ...
1
vote
1answer
87 views

How to forbid HTTP TRACE in lighttpd

In a recent PCIDSS scan at a client of mine, I got aware of Web Server HTTP Trace/Track Method Support Cross-Site Tracing Vulnerability (CVE-2004-2320, CVE-2007-3008). The proposed mitigation for ...
-1
votes
1answer
1k views

(network.c.379) can't bind to port: 80 Address already in use

I have one server running both apache and lighttpd on two separate IPs. After rebooting the server I can't access the stuff on lighttpd: /etc/init.d/lighttpd restart (network.c.379) can't bind to ...
1
vote
1answer
102 views

SSL with authentication without encryption

Is it possible to setup lighttpd server and curl client so that both the client and the server verify each other's self-signed SSL certificate but the file is downloaded without SSL encryption? How ...
0
votes
2answers
329 views

Lighttpd: htaccess protection does not work

i have tried to setup an htaccess protection of an file from my website. i have pasted the following code into the 05-auth.conf $HTTP["url"] =~ "^/www/hosts/domain" { auth.backend = "htpasswd" ...
0
votes
1answer
201 views

PHP processes keep overwhelming my server, eating up the CPU and making it lock up :(

I have a Debian Squeeze Lighttpd server with PHP and MySQL, and also with XCache and Varnish set up. I am quite new to this, but have tried as hard as I can to resolve this problem with no success. ...
0
votes
1answer
127 views

Lighttpd mod_rewrite to Apache mod_rewrite

I want to turn this Lighttpd mod_rewrite to apache rewrite code. $HTTP["host"] =~ "^(i\.ylar\.se|puush\.me)$" { server.document-root = "/var/www/servers/i.ylar.se/" url.rewrite-once = ( ...
0
votes
1answer
83 views

lighttpd server-status blank host and uri

Looking at the server-status on lighttpd, running behind a AWS load balancer, I'm seeing some long-lived (up to around 60 seconds) requests, in a "read" state with a blank host and blank URI. What ...
0
votes
1answer
379 views

Lighttpd fails with 403 - Forbidden with SELinux enabled

I've setup a CentOS 6.3 box with lighttpd, php-fpm and I can server both static files and PHP files with SELinux enabled if I leave the lighttpd home directory set to the default (/var/www/lighttpd). ...
1
vote
0answers
151 views

disable direct file access on lighttpd

I'll be fast: Is there a way to block direct file access to files/images on my /var/www? So for example: If I am loading the page example.com/info.php that contains the image hello.jpg, can I block ...
0
votes
0answers
148 views

LightHTTPD - Software caused connection abort

I have a local LightTPD server running on my windows 7 computer. I have SSL set up and it works - but every time I request a document from the SSL part of the server I get the following on the ...
1
vote
2answers
539 views

Lighttpd Redirect to SSL results in 301 redirect loop

I am running lighttpd 1.4.31 with ssl support and am having an issue with forcing https on a specific virtualhost. If I disable the redirect line from the following config, it works as expect (http ...
1
vote
1answer
199 views

Lighttpd + Node.JS (via ModProxy) - 500 Internal Server Error

At the top of my lighttpd,conf file I have the following server.modules = ( "mod_access", "mod_alias", "mod_compress", "mod_redirect", # "mod_rewrite", "mod_proxy" ) At the bottom I addded ...
0
votes
2answers
741 views

Lighttpd as tomcat proxy with static content serving

How can I configure Lighttpd to serve static content on specified URL address (eg. www.my-domain.com/static) from specified directory (e.g. /var/www/my-domain/static) ? Rest of requests must be ...
2
votes
5answers
526 views

What's the most effective way to block incoming HTTP/HTTPS requests from an old domain name?

A own a dedicated CentOS box that uses lighttpd to serve www.newdomain.com. However, the same IP used to host an old domain www.olddomain.com. The box still gets requests for www.olddomain.com. ...
2
votes
1answer
1k views

Identifying performance bottleneck on a high-end VPS (Apache 2.4 event_mpm/lighttpd/nginx)

I have quite a high-end VPS from vpsblast (their SSD13) - 4 cores, 16gb RAM, 320gb of SSD hard drive space on a 1GigE Internet backbone (virtually uncontested). As near as I can tell it is running ...
-1
votes
2answers
46 views

What is a good approach to install a webserver? [closed]

I wan't to install Lighttpd on my V-Server under Debian. I'm new to Linux and I wonder if I should install Lighttpd as root or as a new User to avoid security issues?
1
vote
0answers
177 views

Lighttpd and OpenCart GET requests with mod_rewrite

Our OpenCart is running on Lighttpd and we use mod_rewrite for SEO. Whenever we have our rewrite rules on, GET requests such as http://www.site.com/dev/?gclid=XXX do not work. Here are my current ...
0
votes
2answers
205 views

Lighttpd vhost regex

I'm having a problem with my vhosts using regex. When I use the following code, I get a 404 not found: $HTTP["host"] =~ "(^|\.)example\.com$" { ... } However, when I explicitly set it to the ...