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

596 questions
0
votes
0 answers

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, mod_setenv, mod_compress. also, configuration do…
user275407
  • 11
  • 2
0
votes
1 answer

lighttpd: How to disable auth on second site

My setup has the current auth config. it forces authentication by any remote host. That's good. But I need to make an exception. auth_file="/etc/lighttpd.users" #if auth_file is not empty enable lighttpd local authentification if grep -q…
NinjaCat
  • 576
  • 1
  • 9
  • 21
0
votes
1 answer

Lighttpd stops writing to access.log

I have this issue with my lighttpd installation where logging to access.log will cease once the default log-rotating software erases my access.log after copying it to access.log-YYYYMMDD. I have to stop and restart the service to get the logging to…
0
votes
1 answer

Weird subdomains in access log?

I have Lighttpd on an Ubuntu server. I just checked the access logs from lighttpd for a particular domain. This domain only has a very simple index.html file that basically says "coming soon". Below are 10 of the most recent ones. I don't completely…
Ray Walz
  • 135
  • 6
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,187
  • 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
  • 8
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…