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
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
  • 151
  • 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
  • 781
  • 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
6 answers

What are the advantages of lighttpd over Apache

Youtube use lighttpd rather than the common Apache. What are the advantages of Light vs Apache? Are there other alternatives to Apache?
Alex
  • 8,111
  • 24
  • 71
  • 99
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
  • 69
  • 1
  • 8
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
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
  • 20
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