Questions tagged [lighttpd]

lighttpd (pronounced "lighty") is a performance-optimized open-source web server

lighttpd supports the , and interfaces to external programs, permitting web applications written in any programming language to be used with the server. it powers several popular Web 2.0 sites like YouTube, wikipedia and meebo.

Links

Similar

61 questions
11
votes
2 answers

How to allow other computers on the network to access my virtual web server?

I use Windows 7 as a host OS. I have Debian 6.0.4 installed on VirtualBox with lighttpd. I can easily access the web server from my machine by typing http://localhost in the browser address panel but other computers from my network cannot access it…
Patryk
  • 1,269
8
votes
2 answers

I left my .git directory readable by the web server, what risks do I have?

On one of my web applications, I accidentally left the .git directory readable by the web server for the last few weeks. Index listing was disabled. Visiting the website.com/.git URL would result in a 404 error that was indistinguishable from any…
4
votes
1 answer

Lighttpd: Serve all files in directory as static

How can I prevent any code execution under a specific directory path using Lighttpd configuration? I do not want to use a whitelist/blacklist, but simply serve any file as a static file under that path. $HTTP["url"] =~ "^/static" { # STATIC…
john
  • 41
  • 2
4
votes
2 answers

Run LightTPD as a Windows service for free

I'm looking for a good way to run LightTPD as a service on a Windows server, but all the solutions I can find are either general-purpose shareware or quite complicated to set up. Is there any good and easy way to accomplish this?
damd
  • 279
3
votes
1 answer

Why do links have a trailing slash character when directory browsing with Lighttpd?

I configured lighttpd 1.4.74 on ubuntu 24.04 to allow directory browsing, via .conf file: dir-listing.activate="enable" I have also tried server.dir-listing = "enable" They both seem to give me the same results, where static files' links have a…
hmqcnoesy
  • 194
2
votes
0 answers

How do I change the document root for lighttpd?

I am trying to change my lighttpd configuration as follows: I have a 500GB ext4 formatted hard disk attached to my server via USB. I would like to either a) Change my lighttpd server's document root to /media/adam/Server/http (a real folder on my…
2
votes
2 answers

Disable weak SSL ciphers in lighttpd

The testing tool https://www.ssllabs.com/ssltest/index.html tells me that my server is offering/supporting: SSL_RSA_WITH_DES_CBC_SHA (0x9) WEAK 56 SSL_DHE_RSA_WITH_DES_CBC_SHA (0x15) DH 1024 bits (p: 128, g: 128, Ys: 128) FS WEAK …
arantius
  • 371
2
votes
1 answer

Setting up Lighttpd and FastCGI for my own web app?

I'm running Gentoo Linux, and I'm trying to get Lighttpd+PHP+FastCGI working. I discovered that Lighttpd doesn't have a FastCGI process manager. So, you're supposed to use spawn-fcgi. I have Lighttpd and PHP working. My problem is that I do not know…
Nick
  • 688
2
votes
0 answers

Pretty-print or re-indent lighttpd.conf?

Is there a tool which will pretty-print or re-indent lighttpd's lighttpd.conf? I'm using Vim, but VG= (Vim's reindent-the-whole-file command) goes haywire.
a paid nerd
  • 3,481
2
votes
4 answers

Where is lighttpd.conf? Mybook world 2 whitelight webserver

I'm attempting to get my Roku streaming box with a channel called Roksbox to stream content off my MyBook World 2 whitelight. I want a directory listing of a certain folder of a share, Media. It's 2012 and this should be way easier. I've tried the…
Bob
  • 141
2
votes
2 answers

Redirect from HTTP to HTTPs in lighthttpd

How can I redirect from HTTP to HTTPS with lighthttpd? There are tons of lighttpd config snippets floating around to make this happen, but so far none of these really worked. Currently I am still playing around with 127.0.0.1, so if anyone has an…
drahnr
  • 380
2
votes
0 answers

Running a shell script in a web server as if it was interactive

I have a shell script (csh) - I didn't write it so I can't change it now. The script does a lot of parsing of log files, calls other scripts in languages like Perl and Tcl, creates new files and calls executables. It runs nicely from the command…
N00bler
  • 21
2
votes
1 answer

CentOS 7 + Lighttpd, web server not working but running

I have installed lighttpd on my new CENOS 7. When I'm trying to access my IP, it is loading than eventually says that the site can't be reached, (ERR_CONNECTION_TIMED_OUT). WHen runnig systemctl status lighttpd -l, It looks like the service is up…
TheUnreal
  • 147
  • 1
  • 3
  • 13
2
votes
1 answer

Configure Lighttpd to run python script using fastcgi

I have a lighttpd server that I want to run a python application using fastcgi. I followed the example on the lighty homepage, but I can't seem to get lighty to execute the python script. This is my fastcgi section in lighttpd.conf: fastcgi.server =…
Gasp0de
  • 257
2
votes
0 answers

Lighttpd Proxy to Service on Another Port

I have an issue, which I hope is common enough to be resolved quickly. Specifically, I have a server on which I wish to host several web-applications at the same time for my own personal use. I would like it to be well-organized however. My current…
RedHack
  • 500
1
2 3 4 5