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

learn more… | top users | synonyms

0
votes
0answers
13 views

I have setup lighttpd with mod_h264_streaming but it fails

I have setup lighttpd with fast-cgi and for streaming I want to use mod_h264_streaming. I have installed plugin and lighttpd but at the end when I restart lightted it throw error. Starting lighttpd: ...
-1
votes
0answers
10 views

Lighttpd & proxying all outgoing http/https requests

I have a webserver that is currently running TurnKeyLinux version of lighttpd (https://www.turnkeylinux.org/lighttpd-php-fastcgi). What I'm looking to do is route all outgoing traffic/requests from ...
0
votes
0answers
15 views

Gradual throttling total bandwidth

I have a server with a 30TB traffic allowance hosting (mostly) history images and would like to throttle one particular directory (the download image sizes) when necessary to avoid going over the ...
0
votes
1answer
10 views

HTTP Strict Transport Security global cert refresh

So, I probably screwed up when I set up HSTS and didn't refresh my certificate in time. Browsers now have a cache of my old certificate and don't seem to be contacting my server to request a fresh ...
0
votes
1answer
79 views

Lighttpd doesn't start after purging Apache

I tried to migrate from Apache to Lighttpd on kubuntu 16.04. I used apt-get remove --purge apache2 then apt-get install lighttpd After running systemctl start lighttpd I got the error message Job ...
0
votes
1answer
56 views

lighttpd can't access same files and apache can't

I having a issue with lighttpd, It can't access any of my files in ../media/* but apache can. It's the very same files it have been running for a very long time, until for 4 -> 6 hours ago, where it ...
1
vote
1answer
16 views

Lighttpd Skip auth for ip

I have setup a login for a domain with lighttpd 1.4.31, no problem. Now, I would like to skip this login for a single IP address. I have tried a few different configs I found in the documentation ...
0
votes
0answers
42 views

Lighttpd H264 Streaming module install in centos

I am trying to install Lighttpd with H264 Streaming module. I have tried multiple times but i am unable to make module work. I have used following guide How to install Lighttpd streaming module ...
0
votes
1answer
22 views

Lighttpd: specify two http hosts with same document root?

What is the best or proper way to specify two http hosts with the same document root on Lighttpd? For example, to serve a domain at example.org and www.example.org. Given the following in the ...
0
votes
0answers
29 views

Uploadprogress installed but progress bar not working

I have video hosting script, which was working well on my old server, bit now in new server i have installed Virtualmin as control panel. Also there is Lighttdp installed for video streaming which is ...
1
vote
1answer
28 views

https not recognized by PHP when lighttpd url.rewrite used

I'm deploying a PHP website using lighttpd. To get nice URLs working, I've put this into the configuration file: url.rewrite = ( "^/(?!(wp-admin|wp-includes|wp-content))/(.*)" => "/index.php?$...
1
vote
1answer
37 views

lighttpd authentication before redirection from https to http

I would like to redirect from https to http after authentication so credentials go through a secure channel but everything else is transmitted in plain. Here it is the relevant part of the conf file: ...
1
vote
0answers
37 views

Reverse Proxy with https redirect in Lighttpd

I've got a django application here that uses a lighttpd reverse proxy. We recently moved it behind an elastic load balancer on EC2 and I'm having trouble working out the correct config to do what I ...
1
vote
1answer
91 views

CentOS 7 lighttpd startup failed

I'm running CentOS 7 and when I start lighttpd, it showed status [OK], but when I check the status, it does not actually run. There isn't much information on the startup log, but here is it: [root@...
1
vote
1answer
18 views

Search lighttpd access log

The access-log on my lighttpd server is kind of huge, apx 5GB. Now I need to extract all data from a given date, 12th of February, from the log file and if possible save to new file. Is it possible ...
0
votes
0answers
20 views

lighttpd rewrite in magento

I'm currently using below code in lighttpd.conf to redirect http to https. $HTTP["scheme"] == "http" { $HTTP["host"] =~ ".*" { url.redirect = (".*" => "https://%0$0") } } However,...
0
votes
2answers
32 views

Redirect to https on lighttpd

Trying to understand how to make the redirect to redirect all http traffic to https on lighttpd webserver using 301. For instance http://www.example.com should redirect to https://www.example.com and ...
0
votes
1answer
33 views

Disable SSLV3 on lighttpd 1.4.28

I just installed SSL certificate on my lighttpd server. When running some 3d-party tests they said that SSLV3 should be disabled for security reasons. However, as my version don't support ssl.use-...
0
votes
0answers
21 views

Lighttpd fails to serve cgi over unsecure http when compiled with --with-openssl

I'm setting up lighttpd on an ARM embedded linux platform. This is so bizarre. 2016-02-22 11:49:04: (log.c.194) server started mod_cgi.c.913: assertion failed: s 2016-02-22 11:49:13: (mod_cgi.c.1341)...
2
votes
1answer
325 views

Docker compose volumes invalid characters

Unable to start container with docker-compose up Docker version 1.9.1, build a34a1d5 Dockerfile FROM ubuntu # File Author / Maintainer MAINTAINER Parzee info@parzee.com # Install Components. # ...
0
votes
1answer
204 views

Docker compose Conflict error

Unable to start container with docker-compose up Docker version 1.9.1, build a34a1d5 Dockerfile FROM ubuntu # File Author / Maintainer MAINTAINER Parzee info@parzee.com # Install Components. # ...
0
votes
1answer
18 views

Implement apache equivalent mod_rewrite functionality in lighttpd

Here's the mod_rewrite .htaccess file which is meant to work on Apache Servers for my web-app RewriteEngine On RewriteBase /cs200/tokens/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{...
1
vote
0answers
33 views

Hide index.php in subdirectory after rewrite (lighttpd)

How it is set up now I have a website which is setup for clean urls with apache mod_rewrite like this: RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301] RewriteCond %{...
3
votes
0answers
268 views

How to reverse proxy https with lighttpd?

I want to forward (reverse proxy) requests to https://secure.mydomain.com(:443) to my internal (HTTPS-)WebServer on port 8443 using Lighttp. Environment-Infos: My WebServer is a Tomcat running on ...
1
vote
0answers
84 views

lighttpd won't reload config, restart, or even stop

I made some changes to my lighttpd config file and wanted to force-reload but the changes weren’t reflected. I tried stopping and starting it, again with no effect. I then tried simply stopping it. ...
1
vote
0answers
57 views

How to run multiple dokuwiki instances on debian with lighttpd

I installed dokuwiki using the guide here. Everything was very easy and works great. Now I want to run a second wiki on the same server. I have read enough that I think I could hack it together by ...
2
votes
0answers
28 views

SSL for Lighttpd on different port Error 451 -

I'm not quite sure how to explain my problem but I'm going to try. I have lighttpd 1.4.35 on Centos 6.4 64bit behind a firewall. One of the virtual host is running using different port (8800) with ...
1
vote
1answer
26 views

multiple redirects on lighhttpd

I have a request to redirect multiple individual URLs to new individual URLs. This is the situation: **Old URL --> New URL** old.domain.org/ --> ...
0
votes
1answer
145 views

lighttpd: remove charset=UTF-8 from content type

lighttpd 1.4.31-4+deb7u3 automatically adds ;charset=UTF-8 to the content-type of .html and .php files. How can I remove that? Setting the content type in PHP itself does not help; lighttpd still ...
1
vote
0answers
9 views

Transfering from apache2 to lighttpd [closed]

I have my video sharing website in /var/www/html/ and i want to transfer from apache2 to lighttpd. The problem is that i want to use lighttpd with H264 Streaming Module, FLV Streaming Module and ...
0
votes
0answers
66 views

Monit http status monitoring behaviour

I am using monit v 5.15 and I try to set up monitoring for http status using the basic: if failed port 80 protocol http request "/status.fpm" status > 500 then alert And I ...
1
vote
1answer
64 views

Lighttpd: Redirect Domain but not Subdomain

In the past I had the following config on Lighted that would allow me to redirect some secondary domains I own to my primary domain. $HTTP["host"] =~ "superdomain\.net|superdomain\.eu" { url....
1
vote
2answers
310 views

413 - request entity too large in lighthttpd

When saving configuration settings in Magento I get "413 - request entity too large". We are running lighttpd. In php.ini memory_limit = -1 In lighttpd.conf server.max-request-size = 1000000 I have ...
1
vote
0answers
619 views

SSL: couldn't read X509 certificate from pem file lighttpd

I have installed ssl key in the past on my lighttpd and I've documented the steps I did to make sure that I can replicate it in the future. Well, I haven't touched the server for a while and I need ...
0
votes
0answers
96 views

How to set up a lighttpd modular config for several vhosts

I have a question regarding lighttpd best practices for vhosts setups. I wanted to set up a modular config for several vhosts with splitted config files to be able to enable/disable specific vhosts ...
1
vote
1answer
34 views

Fixing syntax errors in lighttpd.conf?

lighttpd newbie here... We're trying to set up lighttpd to host a local django app, kiosk-style. We intend to use wsgi for this, but we're having trouble figuring out the syntax for lighttpd's config ...
0
votes
0answers
39 views

lighttpd cgi.conf applying script path rather than documents path to returned data

I have an application that has both static html files and dynamic html file created using perl. The static pages are in a directory /usr/local/domain/htdocs with a number of sub-directories ...
3
votes
1answer
253 views

missing mod_ssl.so for lighttpd

I am trying to set up ssl (i.e. https) for my lighttpd web server running Debian 8 (Jessie). The relevant lines in lighttpd.conf are: server.modules = ( "mod_access", "mod_alias", "...
2
votes
1answer
50 views

404 when trying to shorten url for mediawiki (lighttpd)

I'm absolutely new at this, so please bear with me. I installed mediawiki on lighttpd with no problems, except that when I try to follow up redwerks instructions on how to shorten the urls for ...
1
vote
0answers
25 views

Converting lighttpd rewrite rules to apache

I'm in the process of converting an application from Unix to a Windows based infrastructure, one of the changes being made is utilizing apache instead of lighttpd for the web server. Most of this ...
1
vote
0answers
101 views

Inconsistent “unable to open database file” error from a CGI program using SQLite

I've been running a task program for a psychology experiment on my virtual private server with lighttpd 1.4.28 and Ubuntu 12.04. The experiment is a CGI program written in Perl using a Perl module I ...
1
vote
0answers
154 views

how do I redirect all http request to https on lighttpd? [closed]

I have an internal only website running on port 2222. This website uses it's own web server. I have setup lighttpd (config below) so I can access it from the outside via HTTPS on port 2223. I can ...
0
votes
1answer
227 views

Disable logging ip adress to access.log in lighttpd

I have my webserver configured with lighttpd/1.4.31. About 80% of all entries in lighttpd's /var/log/lighttpd/access.log consist of my own ip address. I would like to disable my ip address logging ...
1
vote
1answer
59 views

Lighttpd ldap auth issue, massive performance loss (lighttpd 1.4.35-1.el6.x86_64 + RHEL 6.6)

I installed lighttpd for the first time from epel repo. I changed user and group for the webserver and ran the lighttpd server. I can download a page with 200 small images in about a second. If I ...
1
vote
2answers
2k views

Lighttpd static file server 403 forbidden error

I installed lighttpd on Debian Jessie for serving static files, I have a USB drive mounted at /media/storage, with /media/storage/www as my document root and my lighttpd.conf looks like this: server....
0
votes
1answer
185 views

lighttpd config file fails to parse $HTTP[“url”] conditional configurations though other ones work

I'm trying to set mimetypes for files at a specific path on my server, which is running lighttpd version 1.4.31 with SSL. I'm following this documentation of configuration: http://redmine.lighttpd....
0
votes
1answer
426 views

Remove Lighttpd password auth for one path

I have a lighttpd server that I want to serve some files from. Unfortunately the server is currently set up to require password authentication and I want these files to be available publicly. How can ...
0
votes
0answers
148 views

Random speed on downloading files from Nginx/lighttpd

I've tried both lighttpd and nginx as webservers. All to very same result: In the morning, when the load is low, files are lighting fast to download. But later, when the load is a BIT more, server ...
1
vote
1answer
163 views

Lighttpd redirect non-www to www

I want to redirect all non-www to www on my domain. But when I use this code provided by some websites, and do a graceful restart of the lighttpd server, my website doesn't function anymore - at all:...
0
votes
0answers
135 views

Why isn't Lighttpd caching files?

I've installed lighttpd 1.4.33 /not mod_cache patched/ on Ubuntu 14+. I've put .html file with embedded .unity3d on server (unity3d file is somewhere 50+ Mb.) lighttpd.conf do contain mod_expire, ...