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

587 questions
0
votes
3 answers

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 it display the content of example.com/support I am…
Jmaes
  • 1
0
votes
2 answers

Why would internet explorer conflict with lighttpd/mod_compress?

We've been running lighttpd on our image servers for quite some time, but in an effort to speed up page load times, we've been working toward using mod_compress and etags to speed things up. I've added the following lines to the…
pivotal
0
votes
1 answer

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, but I can't get a reference to Scheme (its…
Adam Mills
  • 25
  • 8
0
votes
1 answer

How to: Zend .htaccess Lighttpd conversion

We are using Zend Framework, we switched from apache to lighttpd, main htaccess file for zend is this: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule !\.(js|ico|gif|jpg|png|css)$…
Devrim
  • 1,197
  • 4
  • 16
  • 29
0
votes
1 answer

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. My lighttpd.conf used this configuration to…
noaru
  • 3
  • 2
0
votes
1 answer

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 this? I tried it but it does not work very well.
hazelnut
  • 25
  • 1
  • 7
0
votes
1 answer

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…
0
votes
1 answer

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 passed to the script just fine, and I get the…
Libbux
  • 295
  • 1
  • 2
  • 14
0
votes
1 answer

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 used by apache. how can I have the both ssl…
deb2014
  • 11
0
votes
2 answers

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 possible to use $HTTP["remoteip"] together…
Kaah
  • 141
  • 7
0
votes
3 answers

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

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, or any sort of scripting. There will be no HTML…
0
votes
1 answer

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 frameworks nowadays. All of them have built-in…
gchiconi
  • 111
  • 3
0
votes
1 answer

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 installed using: cd /lighttpd-1.4.35/ ./configure…
0
votes
1 answer

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 of lighttpd.conf for redirect: $SERVER["socket"]…
milos
  • 111
  • 3
0
votes
1 answer

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 unlucky me, I'm using lighttpd in production, and I'm…
Henrik
  • 103
  • 1