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

58 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,249
  • 6
  • 24
  • 32
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…
Thomas Hunter
  • 811
  • 1
  • 9
  • 15
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
  • 15
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
  • 375
  • 1
  • 5
  • 12
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
  • 678
  • 1
  • 9
  • 18
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
  • 1
  • 3
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
  • 370
  • 6
  • 15
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
  • 3
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
  • 2
  • 12
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
  • 249
  • 2
  • 12
2
votes
1 answer

Prevent users from opening files via URL on lighttpd webserver

I have a website that uses JSON files to store settings in. Those files are located at a subfolder, so that it looks like /settings/settings.json. If I type in the IP address on the local network like so http://192.168.1.1/settings/settings.json I…
1
vote
1 answer

Redirect all http & https requests with lighttpd

I have a spare Raspberry Pi so I decided to check out PirateBox. I have it all working however the default behaviour is to not redirect https requests. Given the PirateBox will be never connected to the Internet and people connecting most likely…
1
vote
1 answer

lighttpd complains about ssl.use-compression

I am trying to apply some of the tricks described here, and the problem is having ssl.use-compression = "disable" in lighttpd.conf, because server reports WARNING: unknown config-key: ssl.use-compression. I am a bit confused, since I cannot find any…
Ulrik
  • 251
  • 2
  • 12
1
2 3 4