Questions tagged [lighttpd]

Lighttpd is a lightweight and high-performance event-driven web server.

Lighttpd is a lightweight and high-performance event-driven web server.

1125 questions
5
votes
1 answer

How to set a HTTP proxy server in all Lighttpd SSL configuration

I've configured my Proxy server as HTTPS only. Now I want that for a specific URL with pattern ^/backend(.*)$ the requests are redirected to port 8080 (with HTTP instead of HTTPS). If I configure the proxy server without HTTPS I could do it this…
Faby
  • 51
  • 3
5
votes
1 answer

Lighttpd: How to password-protect URLs matching regex

Is there a convenient way to password-protect URLs which match a certain pattern in Lighttpd? I thought about matching regex, but any other creative solution will be nice. NOTE : I'm not looking for a way to password-protect a directory, beacuse …
Adam Matan
  • 128,757
  • 147
  • 397
  • 562
5
votes
0 answers

lighttpd mod_compress not compressing application/json type

Has anyone else encountered the following? I'm trying to use lighttpd, running the FastCGI/flup server and the Flask framework, to serve a JSON-based RESTful API. I'm using Flask's RESTful extension package, which marshals Python data into a JSON…
5
votes
4 answers

Some files won't stream from lighttpd to Droid

We are running into some odd issues with streaming certain files in our app. After lots and lots of testing we've narrowed it down to what seems like some sort of issue between lighttpd and Droid, and it's not just our app but the built in player as…
Jay Paroline
  • 2,487
  • 1
  • 22
  • 27
5
votes
2 answers

fastcgi, cherrypy, and python

So I'm trying to do more web development in python, and I've picked cherrypy, hosted by lighttpd w/ fastcgi. But my question is a very basic one: why do I need to restart lighttpd (or apache) every time I change my application code, or the code for…
Wells
  • 10,415
  • 14
  • 55
  • 85
5
votes
5 answers

apache + lighttpd front-proxy concept

In order to lighten Apache's load people often suggest using lighttpd to serve up static content. e.g. http://www.linux.com/feature/51673 In this setup Apache passes requests for static content back to lighttpd via mod_proxy, while serving dynamic…
Mike
  • 340
  • 3
  • 10
5
votes
6 answers

Multipart Downloading in C#?

Please excuse my ignorance on the subject. I would like to write an application in C# that can download files off a server the same way DownThemAll does. DownThemAll seems to open four connections to the HTTP server to download the same file. I was…
Jorge Israel Peña
  • 36,800
  • 16
  • 93
  • 123
5
votes
2 answers

Apache - how to limit maximum download speed of files? (if not apache, i can run lighthttpd)

I have a bunch of videos but I only want to limit the maximum download speed for these files to be 1mbps. How can I set this up (ideally in Apache but lighthttpd is an option) thanks
user1190646
5
votes
3 answers

Lighttpd and cgi python

I'm trying to execute some python scripts through lighttpd but when I try to run it, I only get a blank file which I'm asked to download. lighttpd.conf server.modules = ( "mod_access", "mod_alias", …
Semtex
  • 85
  • 1
  • 8
4
votes
1 answer

Developing a plugin in Lighttpd

I'm using the web server Lighttpd and I'm absolutely new to it. I managed to install and get in running in CentOS 6.2. I now want to make a plugin for lighttpd using Cpp, but I couldn't find any helpful tutorial at all and totally confused now.…
the_naive
  • 2,936
  • 6
  • 39
  • 68
4
votes
1 answer

LightHttpd vs Nginx

Ok, I have seen this question quite a few times here on SO and as well as elsewhere on the web. But..they are all pretty old, so I will post it again. I have the following needs: Ability to handle lots of simultaneous HTTP connections (like comet).…
recoot
4
votes
1 answer

Django app with fcgi works only in non daemonized mode

I am sorry if this is an obvious problem, but I really at my wits end trying to figure this out. I have a Django application which I am running as an fcgi process and with Lighttpd as the front server. I first tried running the Django FCGI process…
Parag
  • 12,093
  • 16
  • 57
  • 75
4
votes
2 answers

Loading a PHP app/framework into memory only once possible with FastCGI?

I was under the impression that FastCGI allowed you to kinda load in your web app once, and then you just "provide" FastCGI with some function, like myHandleHTTPRequest($url), that would then be called whenever a request came. This way you'd get…
0scar
  • 3,200
  • 25
  • 28
4
votes
1 answer

Css not working with FastCGI and Lighttpd

Im new to fastcgi and lighttpd and trying to setup my DJANGO app. facing couple of problems at the moment: CSS not working at all FastCGI is adding its prefix for the requested URL i.e. mydomain.com/mysite.fcgi/mysite.fcgi/content/1/000228/ instead…
user1170364
  • 349
  • 2
  • 5
  • 11
4
votes
3 answers

Flask with a webserver breaks all sessions?

For example, this code: from flask import session @app.route('/is_logged_in/') def is_logged_in(): return 'user' in session It runs fine for me when running Flask's development server, but it throws a 500 error with any webserver setup (FastCGI,…
Blender
  • 289,723
  • 53
  • 439
  • 496