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
3
votes
1 answer

(CeontOS) How to respawn lighttpd & MySQL in "/etc/inittab"

I need to manually create auto-respawning for lighttpd & MySQL to make sure it running all time But what is the code to put in /etc/inittab? thanks
unknown
2
votes
2 answers

CentOS 5.0 with Ligthttpd notices high traffic without reason

I have a CentOS 5 with Lightppd installed. Also I have MySQL on board. I lately discovered high traffic: http://img686.imageshack.us/img686/8596/traff.jpg Could you please tell me how to diagnose what is cause of this traffic? I didn't do anything…
Tom Smykowski
  • 1,125
  • 5
  • 19
  • 27
2
votes
2 answers

Lighttpd Reverse Proxy with SSL/HTTPS

I am trying configure Lighttpd to redirect/handle port-specific requests to a subdomain. I can access my plex server via https://www.example.com:32400/ I would like that to be redirected to https://plex.example.com/ I have the following config, but…
Will Roberts
  • 53
  • 1
  • 6
2
votes
1 answer

Lighttpd reverse proxy HTTPS to another server on HTTP

I've a Lighttpd server running on HTTPS, and I want to have one subdirectory on the server act as a reverse proxy for a separate server that runs on HTTP. I've tried following guides on doing both proxy and url rewrite, but something to do with how…
cogm
  • 121
  • 1
  • 4
2
votes
1 answer

How Can I Do This In Lighttpd?

This is for Apache: Header set Cache-Control "max-age=290304000, public" How do I do it for lighttpd?
Steven
  • 617
  • 2
  • 6
  • 7
2
votes
2 answers

Apache2 and Lighttpd on the same machine: how to share php APC?

I have a Debian machine where I use both apache2 (with mod_proxy) and Lighttpd (for a long-polling service and static contents). Both apache and lighttpd run php5, with APC. Lighttp use FastCGI for php5. Now, both environment works well, but the APC…
Strae
  • 457
  • 1
  • 8
  • 22
2
votes
2 answers

Lighttpd proxy tomcat path

My tomcat serves 2 sites ROOT -> Main-site /mobile -> dedicated mobile website I've configured lighttpd to serve as a proxy $HTTP["host"] =~ "www.my-site.at" { proxy.server = ( "" => ( ( "host" => "127.0.0.1", …
Beig
  • 121
  • 2
2
votes
2 answers

How do I set up letsencrypt with multiple domains on a lighttpd server with ubuntu 16.04?

I'm trying to set up letsencrypt on lighttpd from scratch. I currently run lighttpd on 16.10 xenial and want to move over existing sites to https from http. I know there's an automatic setup process for Apache and ngnix, but I'm disinclined to move…
Journeyman Geek
  • 6,977
  • 3
  • 32
  • 50
2
votes
2 answers

Stop server from executing scripts without the execute bit

We have a web server running Lighttpd on FreeBSD. Some of our clients demand FTP access to their server. With most of them, chrooting them with the FTP daemon into a "files" directory so they can upload pictures of their kids or whatnot suffices,…
2
votes
2 answers

Redirect to https on lighttpd

Trying to understand how to make the redirect to redirect all http traffic to https on lighttpd webserver using 301. For instance http://www.example.com should redirect to https://www.example.com and it should work for all sub pages as it's…
Andreas
  • 161
  • 1
  • 6
2
votes
0 answers

Hide index.php in subdirectory after rewrite (lighttpd)

How it is set up now I have a website which is setup for clean urls with apache mod_rewrite like this: RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L,QSA] The…
Liam Martens
  • 141
  • 5
2
votes
0 answers

lighttpd won't reload config, restart, or even stop

I made some changes to my lighttpd config file and wanted to force-reload but the changes weren’t reflected. I tried stopping and starting it, again with no effect. I then tried simply stopping it. Again, no effect the server is still up and running…
daniel
  • 21
  • 2
2
votes
0 answers

SSL for Lighttpd on different port Error 451 -

I'm not quite sure how to explain my problem but I'm going to try. I have lighttpd 1.4.35 on Centos 6.4 64bit behind a firewall. One of the virtual host is running using different port (8800) with SSL. My setting is being done this way for the…
Le Dude
  • 381
  • 2
  • 6
  • 14
2
votes
4 answers

How to protect Lighttpd from DOS attacks and flooding?

I have a problem with Lighttpd because someone started to use some Web downloader from very good connection and it blocked my whole website. Is there any way to protect Lighttpd from DDOS attacks and flooding?
Tom Smykowski
  • 1,125
  • 5
  • 19
  • 27
2
votes
1 answer

Inconsistent "unable to open database file" error from a CGI program using SQLite

I've been running a task program for a psychology experiment on my virtual private server with lighttpd 1.4.28 and Ubuntu 12.04. The experiment is a CGI program written in Perl using a Perl module I wrote, presenting a web interface over Mechanical…
Kodiologist
  • 121
  • 8