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
2
votes
2 answers

Best server for me? Nginx/Apache/LightHttpd

I need to setup my new dedicated server (Intel Atom E220 1.6 Ghz ONE CORE, 2 GB RAM) And my website is not a usual one. It has many concurrent processes(php) that's because some php request take over 1 second. The script is optimised, but it does…
Andrew
2
votes
1 answer

lighttpd.conf on different folder

I have vps. i have installed lighttpd, my conf file is on the /etc/lighttpd/lighttpd.conf Then I installed phpmyadmin using apt-get which writes a new lighttpd.conf automatically on /etc/phpmyadmin/lighttpd.conf The weird thing is, I can't find…
r4ccoon
  • 121
  • 2
2
votes
1 answer

Find the source of malware?

I have a server that was running an older version of lighttpd (1.4.19 on a freebsd 6.2-RELEASE (yea, old) machine) and google alerted me that it had found malware embedded on one of my server's pages. It just so happened to be our index page. I…
jps
  • 123
  • 4
2
votes
2 answers

Recommend books/resources for this stack: linux, lighttpd, postgres, webpy

I'm trying to learn to run a simple server (and python simultaneously, but that's beside the point). The tutorials available at the websites of the aforementioned technologies were enough to get the thing running, but that doesn't mean I know what…
2
votes
3 answers

Apache2 with lighttpd as proxy

I am using apache2 as web server. I would like to help him lighttpd as a proxy for static content. Unfortunately I can not well set up lighttpd and apache2. (OS: Debian) Important things from lighttpd.config: server.modules = ( …
user36022
  • 43
  • 7
2
votes
1 answer

Lighttpd - Redirect HTTPS 443 to HTTPS 123

I have HTTPS working for a local instance of Lighttpd. But I'm wanting to redirect: http://192.168.1.254 -> https://192.168.1.254:123 https://192.168.1.254 -> https://192.168.1.254:123 My config is below. What I get ATM is…
Sean Delaney
  • 121
  • 3
2
votes
1 answer

Migrating from Apache to lighttpd?

There are many threads here weighing the various merits of Apache and lighttpd. However, no one has talked about tools for migrating from the former to the latter. Are there good tools for the task? I have a bunch of random .htaccess tweaks in…
Paul Hoffman
  • 2,214
  • 5
  • 19
  • 23
2
votes
2 answers

daemon running for several hours, and dies

After restart server, this is running: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 19653 lighttpd 16 0 67584 39m 16m R 21.3 15.3 0:17.60 php-cgi 8006 mysql 15 0 137m 22m 4800 S 5.3 8.8 1:07.91…
baskaran
2
votes
2 answers

How do I redirect multiple domains to a single domain in lighttpd

If I have the following domains in lighttpd: domain1.com domain1.co.uk domain2.com domain2.co.uk How do i redirect all these to to 'domain.com'? ie: domain1.co.uk/some-path/ redirects to domain.com/some-path/ and domain2.com/some-other-path/…
sleepyjames
  • 163
  • 1
  • 3
  • 9
2
votes
1 answer

accessing dedicate server.document-root in lighttpd returns 404

I have a default lighttpd installation with server.document-root = /var/www/html /etc/lighttpd/lighttpd.conf server.modules = ( "mod_indexfile", "mod_access", "mod_alias", "mod_redirect", ) server.document-root =…
papanito
  • 381
  • 4
  • 20
2
votes
1 answer

Lighttpd Client Certificate Authentication

I'm trying to enable client certificate authentication with lighttpd using my own internal windows CA's. Disclaimer: I'm still very new to PKI :D I have an offline root CA and a subordinate CA in my homelab. I've already imported the root CA into…
poppopretn
  • 21
  • 4
2
votes
2 answers

Cross platform reverse proxy with lighttpd

I have a website www.somewebsite.com domain hosted on lighttpd 1.4 server configured with server.port = 8080 that is on a device (A) with local IP 192.168.1.26 and I want to get to use a reverse proxy in order to access another server that runs on a…
AndreaF
  • 215
  • 2
  • 10
1
vote
1 answer

Self-Signed SSL Cert in Lighttpd Causing 404s

Hey guys, I wanted to try out SSL on my server so I decided to create some self-signed SSL certificates as outlined here. After going to the document-root, firefox did indeed allow me to accept the certificate and stuff. But when I actually tried to…
1
vote
0 answers

Cannot redirect/proxy from Apache to lighttpd server

I have a home server that is accessible from outside with a static IP and port http://:10001. This is a Lighttpd server. I also own a website https://example.com with Apache, I've created a rewrite rule to do this: https://example.com/nas…
TheUnexpected
  • 131
  • 1
  • 1
  • 6
1
vote
1 answer

What’s the meaning of “(?i)” in Lighttpd rewrite rule?

This article : https://www.cyberciti.biz/tips/lighttpd-mod_rewrite-redirect-hotlink-image.html mentions : $HTTP["referer"] =~ ".*BADDOMAIN\.com.*|.*IMAGESUCKERDOMAIN\.com.*|.*blogspot\.com.*" { url.rewrite = ("(?i)(/.*\.(jpe?g|png))$" =>…
Httqm
  • 225
  • 2
  • 10