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

how to use rewrite files with lighttpd

I have just installed a new personal Gentoo server (on a VPS at vpsfree.cz by the way) and wanted to try something more lightweight than Apache that I used on my previous Debian based server. I used to generate apache rewrite files from my web tools…
0
votes
1 answer

lighttpd spontaneously dies

I've been using lighttpd pretty successfully on a VPS for several years, but I've hit a snag since upgrading from Ubuntu 14.04 to 16.04.1 on September 30th. (My lighttpd is now 1.4.35.) Twice, upon trying to visit my website, I've found lighttpd not…
Kodiologist
  • 121
  • 8
0
votes
2 answers

Lighttpd rewrite with dot (.) in URL

I've an installation of lighttpd under Debian running a small API. The current rewrite rules are: url.rewrite = ( "^/(.*)\.(.+)$" => "$0", "^/(.*)$" => "/index.php/$1" ) The ideia is to (like usual on Apache): If any static file is called…
TCB13
  • 1,166
  • 1
  • 14
  • 34
0
votes
0 answers

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 limit. My thinking was that I could use either…
chx
  • 1,705
  • 2
  • 16
  • 25
0
votes
1 answer

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 lighttpd stopped out of the blue. And here is the…
0
votes
1 answer

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, using above either lighttpd or Magento add…
Andreas
  • 161
  • 1
  • 6
0
votes
1 answer

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-sslv3 = "disable" in configurations file I'm unsure…
Andreas
  • 3
  • 1
0
votes
1 answer

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 %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php…
Titanoboa
  • 101
  • 2
0
votes
2 answers

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 adds the charset parameter - as soon as the mime…
cweiske
  • 791
  • 1
  • 13
  • 36
0
votes
0 answers

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 easily. Platform is Debian 8.2 running lighttpd…
LBC
  • 91
  • 1
  • 1
  • 6
0
votes
1 answer

lighttpd not serving files

I'm using lighttpd 1.4.19 on Ubuntu 9.04 and I'm having an odd problem. I'm using it to serve static content, mostly pictures. But when i go to the picture url, the picture doesn't actually show up. it loads, but theres nothing there. When I tried…
The.Anti.9
  • 105
  • 6
0
votes
1 answer

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 access entries to access.log. How can I achieve…
kzpm
  • 99
  • 1
  • 9
0
votes
1 answer

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.net/projects/1/wiki/docs_configuration Specifying…
inquiryqueue
  • 103
  • 4
0
votes
2 answers

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 I make it so that files in a particular…
Max
  • 103
  • 1
  • 4
0
votes
0 answers

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 starts to serve files extremly slow if any. We're…
user275407
  • 11
  • 2