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

learn more… | top users | synonyms

0
votes
0answers
25 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
29 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
45 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
0answers
61 views

Fine grained access control with Lighttpd webdav

I have a Lighttpd webserver serving a some WebDAV directories. I need to be able the following access controls: userA has read-write permission to /pathA userB has read-wrtie permission to /pathB ...
0
votes
0answers
26 views

lighttpd fastcgi. Cant't find CGIs

I have a router where I have root access. It runs a lighttpd server for the web interface and there are some CGIs accessible from the webserver that I can access using a web browser. The thing is ...
0
votes
1answer
38 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 ...
0
votes
0answers
82 views

How to run multiple Django FastCGI applications in Lighttpd?

I have multiple Django projects, which I run as FastCGI applications like this: manage.py runfcgi method=threaded host=127.0.0.1 port=<port_no.> I want to assign aliases to these ...
0
votes
0answers
114 views

Centos 6 - Lighttpd/ 403 error on PHP files, and issues adding website

So, I do have PHP/MySQL and PHP-FPM installed, but when I try to access PHP files, I get a 403 forbidden error. I have been looking around Google quite a lot, and not finding anything that is solving ...
1
vote
1answer
57 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
54 views

configure Lighttpd to download some files and to open other files in browser

I have a plain/text file "getNodeId" I want to display its contents on web browser, so I use mimetype.assign = ("" => "text/plain", "text" => "text/plain", ...
0
votes
0answers
260 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
2k 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
272 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
435 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
527 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
163 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
655 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
919 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
8k 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
38 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.
2
votes
2answers
14k 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
413 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
1k 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
731 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
643 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
681 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
777 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
2k 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
685 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
631 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
176 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
133 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, ...