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

learn more… | top users | synonyms

0
votes
2answers
16 views

lighttpd example.com/support to support.example.com

I googled around and could not find a solution. I am not sure If I am using the correct terminology. I am using lighttpd (1.4.33) and would like to go to the url http://support.example.com and have ...
1
vote
0answers
56 views

Lighttpd and Discourse (Docker): configuring mod_proxy

I have trouble configuring Lighttpd to serve the various services hosted on my server. Lighttpd acts as a front, and I have several DNS records, each for a different subdomain, redirecting to the same ...
0
votes
0answers
13 views

php-cgi segfault in libpcre.so.3.12.1 when showing a long WordPress article (lighttpd)

When I am trying to show or preview a certain post in WordPress, the php process dies. If I shorten the article, it works again. But I have other longer posts that work fine. This is in ...
0
votes
0answers
15 views

Converting .htaccess to lighttpd rewrite rules for Chevereto

I am trying to translate Apache2 htaccess rules to lighttpd rewrite rules. My lighttpd version is 1.4.33. Chevereto uses the G\ php microframework. Apache2 htaccess rule i am trying to convert: ...
0
votes
1answer
22 views

Lighttpd redirect passing original URL

I would like to redirect http://foo/bar to http://bar/foo?q=http://foo/bar Where foo and bar are dynamic... But I cant seem to find a $HTTP var that has the complete url. I have also tried nesting, ...
1
vote
0answers
27 views

Lighttpd to include IP address in error.log

I have lighttpd/1.4.31 (ssl) on Debian 7.6 and I would for the standard error.log to include the IP address of the host which caused the error. Is it possible? The accesslog.format directive allows ...
0
votes
1answer
49 views

lighttpd does not start at boot after enabling ipv6

A few days ago I configured lighttpd to listen on my VPS IPv6 address as well. It runs on a Debian 7 Xen VPS (Linode) with a 3.15.4-x86_64-linode45 kernel. The version of lighttpd is 1.4.31-4+deb7u3. ...
0
votes
2answers
46 views

lighttpd - redirect everything to https

I have tried to use the example from this wiki page - $HTTP["scheme"] == "http" { # capture vhost name with regex conditiona -> %0 in redirect pattern # must be the most inner block to ...
0
votes
1answer
16 views

Lighttpd: How to migrate a rewrite rule?

i'm using this htaccess rule on a apache: RewriteEngine on RewriteCond %{HTTP_REFERER} example\.com [NC] RewriteRule .* - [F] .. and i would convert it to an lighttpd rewrite rule. How can i do ...
2
votes
2answers
66 views

DNS failure solved by reboot of lighttpd?

I have a run a fairly busy site for 2 years with this setup for the web server: ec2/Amazon Linux AMI 2014.03.2 on a micro instance lighttpd (latest) godaddy dns This morning, the site was down - ...
0
votes
2answers
52 views

Rewriting a download URL, but “save -as” dialog shows original URL

I have the following mod_rewrite directive in my lighttpd config file: url.rewrite-once = ( "foo.*$" => "static/foo.pdf", ) I'd like to hand out URLs like this: ...
0
votes
0answers
23 views

Browser doesnt load new ssl certificate

I have lighttpd webserver running in the backend. when I upload a new self signed SSL certificate and restart the web server, the old https session doesn't work not even when the browser is refreshed. ...
0
votes
1answer
55 views

Can't get basic plain auth to work on lighttpd win 1.4.35-1-ipv6

I simply can't get Plain Basic auth to work on lighttpd for more than one user. I have this auth.user file formatted like this: [account_1_name]:[account_1_password] ...
0
votes
1answer
39 views

Using an EV SSL certificate for your site with non-EV SSL content

If I purchase an EV SSL certificate for a site that is using static content from a non-EV SSL site does that effect the EV SSL certificate presentation on the main www site? For example: ...
0
votes
1answer
82 views

Configure sub-domains at different ports with lighttpd

I've one domain example.com and two sub domains of it docs.example.com & bugs.example.com. And I've two applications running at ports 8080 & 8090. How to configure Lighttpd so that, it can ...
0
votes
1answer
75 views

Lighttpd splitting request URI and dropping query parameter

I'm running lighttpd 1.4.33, which is reverse proxied to from an Apache server that is open to the Internet. When accessing a script from the local address of the lighttpd server, GET parameters are ...
0
votes
0answers
63 views

Configure lighttpd/php-cgi to load different shared libraries

For some reason I messed up my webserver after a distro update to Debian GNU/Linux 7 (wheezy). When I try to start lighttpd with /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf -D I receive the ...
-1
votes
1answer
53 views

apache + lighttpd on debian, the both should use ssl, port 443 already used

I installed apache and lighttpd in debian 7, apache used port 80 and lighttpd 88, now I install ssl for apache (443) and when i tried to do the same for lighttpd, I got error because 443 is already ...
1
vote
1answer
166 views

Rewrite Location response header in lighttpd

I have an instance of lighttpd 1.4.35 listening for https traffic and reverse-proxying it to a back-end server. I.e., .----------. .----------. client ---https--> | ...
0
votes
2answers
49 views

How can I use Lighttpd's $HTTP[“remoteip”] together with Cloudflare?

I am using Clodflare DNS. I only want to allow certain IPs to access certain files. How can I set up my lighttpd.conf to properly detect the correct IP? I know how to do it for the access.log. Is it ...
0
votes
3answers
66 views

Architecting a web server hosting mixed small and large (100MB+) static content [closed]

I have the challenge of hosting about 200-1000 mp3 files, all in the 100MB+ size range. Furthermore, there are some smaller RSS files, and some smaller JPG files. All this is static content, no PHP, ...
1
vote
2answers
124 views

Lighttpd rewrite subdomains to subfolders

I have a server (itself on a subdomain) with wildcard DNS pointing to it. The server is running Lighttpd and PHP. I need requests to http://any-subdomain.server.example.com to rewrite to ...
0
votes
0answers
96 views

How to make lighttpd respect X-Forwarded-Proto when constructing redirects for directories?

We have an nginx proxy at tools.wmflabs.org that receives requests by http and https and passes them by http on to lighttpds on a grid (one lighttpd per top-level path). Requests that reach the proxy ...
0
votes
0answers
93 views

Can't run django with lighttpd and FCGI

I'm trying to run django on lighttpd but I'm not able to do it. In logs I see this: 2014-05-30 13:45:32: (log.c.166) server started 2014-05-30 13:45:32: (mod_fastcgi.c.1103) the fastcgi-backend ...
0
votes
1answer
92 views

What are the advantages of using dedicated server software over framework built-in servers?

Being a beginner in the web world, I've always used Apache to develop applications in PHP. Getting tired of it, I learned Node.js, Rails and Django -- just to get a taste of each of the most used web ...
1
vote
4answers
281 views

Retrieve external IP in PHP behind Haproxy

I am using Haproxy to enable running a websocket server and Lighttpd web server on the same machine. I want to retrieve the machines external IP address from the web application running on the ...
0
votes
1answer
256 views

Upgrade Lighttpd 1.4.28 to 1.4.35 on Ubuntu 12.04

I am using Ubuntu 12.04 and installed Lighttpd using: sudo apt-get install lighttpd this installed version 1.4.28. I downloaded the source files for 1.4.35 (latest) from the Lighttpd site and ...
0
votes
1answer
45 views

CGI scripts are not working on lighttpd with SSL

CGI scripts worked perfectly, while I was using HTTP. Then I set redirecting for all traffic through https and now CGI doesn't work at all (404 - not found). I use lighttpd server. Here is the part ...
0
votes
1answer
190 views

Lighttpd rewrite rule for Flight PHP microframework

I'm using the Flight PHP microframework, and it includes its' own router, and needs the server to rewrite requests to the index.php file. It features rewrite-rules for both Apache and Nginx but ...
0
votes
0answers
128 views

How can I set up a web server for reverse proxy having websockets and socket.io working normally?

I have a VPS currently hosting node.js web apps and one site. However I'm currently using custom ports for the apps. I'd like to simply give each its custom domain and so for more sites, that would ...
1
vote
0answers
28 views

Lighttpd fastcgi remote instance operation

This article suggests that it is relatively easy to scale an application by getting lighttpd to spawn php-fastcgi instances on multiple machines. What I do not understand is this - how does a PHP ...
0
votes
3answers
112 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
132 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
386 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
146 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
113 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
530 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
127 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
83 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
162 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
317 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
92 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
2answers
58 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
70 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
149 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
124 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
110 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
108 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
206 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
299 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 ...