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

learn more… | top users | synonyms

0
votes
0answers
178 views

Systemd service start error (raspbian lighttpd)

I have a Raspberry Pi 2 running raspbian (2015-09-24). In installed lighttpd (1.4.35-4) and visited the http://localhost, and it worked. After that I tried to install mysql-server, mysqlclient and ...
0
votes
1answer
27 views

Multiple redirects on lighttpd

I have a request to redirect multiple individual URLs to new individual URLs. This is the situation: **Old URL --> New URL** old.domain.org/ --> ...
0
votes
0answers
16 views

apache2 overwrites lighttpd

I have Ubuntu 12.04 and lighttpd web server installed. Every time there is an update to apache2 package it overwrites my /var/www folder and removes lighttpd from startup. After the update to apache2, ...
0
votes
0answers
78 views

how to redirect root directory alias to a document_root subfloder in lighttpd?

I have this directory configuration: htdocs/www -> web site pages htdocs/WEB-INF -> lib and classes, used in web pages htdocs/data -> data (images, documents) This is how I do it, with ...
1
vote
1answer
453 views

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 ...
0
votes
0answers
37 views

CentOS 7, logfile archives, and lighttpd

There's a service running on my server that rotates log files by appending the date to them and leaving the original log file empty. For example, with lighttpd, my access.log becomes ...
1
vote
1answer
199 views

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: ...
1
vote
0answers
123 views

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 ...
0
votes
0answers
180 views

Changing root directory in lighttpd.conf

I'm setting up a simple test script for a homework assignment and the script is supposed to run a lighttpd server, an nginx server, and our own server that we wrote earlier and analyze a bunch of ...
0
votes
1answer
82 views

Connection refused only locally. Access from outside works

I have raspberry pi with raspbian. Lighttpd and sshd worked fine, but a few days ago they started to refuse connections from local network PuTTY and Chrome connection to local IP gets refused. ...
1
vote
1answer
106 views

Lighttpd appending /main.py/ to url

I have a web server using web.py running on lighttpd. My lighttpd.conf file is as follows: server.modules = ("mod_fastcgi", "mod_rewrite", "mod_compress", "mod_expire", "mod_redirect") ...
0
votes
1answer
83 views

Serving irssi log files over local network with Lighttpd

I wish to use Lighttpd to serve some Irssi log files over a local network - [for my own private use]. Irssi can't write to /var/www/, and I don't think changing permissions is the 'right' way to do ...
1
vote
1answer
110 views

How to rewrite a url in lighttpd?

I am using lighttpd Is this possible to rewrite a URL internally. http://10.78.162.12/getSwVersion to http://10.78.162.12/getSwVersion.txt
0
votes
0answers
512 views

How do I set up a web server to be able to HTTP POST and GET a value from it?

I am a total n00b when it comes to networking. I have done some limited networking in Java/Android, though. Here's what I have done: I have a Raspberry Pi set up as a web server using lighttpd. ...
2
votes
2answers
3k views

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 ...
0
votes
1answer
461 views

Lighttpd, PHP errors generate error 500

If I have an error in the PHP code, Lighttpd gives a 500 error and a line like this mod_fastcgi.c.2676) FastCGI-stderr: PHP Parse error:... appears in the log. The php.ini (/etc/php5/cgi/php.ini) ...
0
votes
1answer
682 views

Lighttpd + Multiple Users + SSH

Is it possible to have multiple SSH users who can't read/write each others files but still allowing Lighttpd to serve their files? Each user would have different domains.
0
votes
2answers
967 views

Error in url alias in lighttpd

I have this configuration: alias.url = ( "/acruz/" => "/var/www/localhost/htdocs/acruz/", "/jvangemeren/" => "/var/www/localhost/htdocs/jvangemeren", "/doceno/" => ...
3
votes
1answer
314 views

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 ...
2
votes
2answers
1k views

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 ...
0
votes
1answer
1k views

Redirect all URLs except one in lighttpd

How can I use mod_redirect in lighttpd to redirect all URLs except one to another URL? Example www.dontredirect.com would not be redirected at all, but all other URLs like www.foo.com or ...
2
votes
1answer
10k views

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 ...
0
votes
1answer
1k views

Lighttpd + PHP permission problems on Fedora

I'm trying to set up a Lighttpd webserver with PHP support. I have basically followed the instructions in this article, but after restarting the server (though I did not receive an error message and ...
1
vote
0answers
42 views

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.
4
votes
2answers
22k views

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 ...
0
votes
1answer
492 views

While trying to install lighttpd on debian squeeze I get: 'Some packages could not be installed.'

I am trying to install lighttpd on my (virtual) Debian 6.0.4 64 bit system but after trying to use this command : sudo apt-get install lighttpd I get this error : Reading package lists... Done ...
1
vote
4answers
3k views

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 ...
1
vote
2answers
901 views

Using a port other than 80 with lighttpd on Mac OS?

I've just installed lighttpd on Mac OS 10.6, but: $ lighttpd -f lighttpd.conf -D 2011-10-05 19:01:32: (network.c.358) can't bind to port: 80 Permission denied $ lsof -i :80 [a ton of processes] ...
0
votes
2answers
766 views

Trying to install lighttpd with macports, but get 'upgrade openssl failed'?

I want to install lighttpd with macports, but: $ sudo port install lighttpd ---> Computing dependencies for openssl ---> Building openssl Error: Target org.macports.build returned: shell ...
0
votes
0answers
890 views

lighttpd cant bind port permission denied

I installed lighttpd, tried to run it service lighttpd start and got error like the one i post below. Please dont give me that crap about needing root (because I am root) or about ports higher than ...
5
votes
2answers
2k views

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 ...
0
votes
2answers
3k views

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 ...
0
votes
1answer
765 views

The lighttpd+Python equivalent of Apache+PHP+FastCGI+suEXEC (or: lighttpd FastCGI-executing Python scripts with the permission of the owner)

It's been years since I last had anything to do with web servers. The last time, I found that Apache along with FastCGI (actually mod_fcgid) and suEXEC gave me a seemingly perfect way to handle PHP; ...
1
vote
0answers
829 views

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 ...
1
vote
1answer
180 views

Information about linux permissions

I have created a user and a group named the same (lighttpd:lighttpd) Now I have to start the lighy server with these user:group... ok Now, I have added a website (vhost) to run with lighy, it works ...
1
vote
1answer
143 views

Super-lightweight server for ad redirecting

For most annoying ad sites I add mapping to 127.0.0.2 in /etc/hosts file and I use lighttpd binded to that ip to show empty page or empty image for requests (using regexp). Are there any alternatives, ...