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
7
votes
1 answer

Cherrypy : Do I really need to put it behind a frontend?

I've been working on a python web app using cherrypy and read it'd be more "robust" to use it as a backend, so I gave it a try. Shortly put, running some benchmarks on a page doing some database operations and serving static & dynamic content has…
felace
  • 993
  • 1
  • 12
  • 21
7
votes
3 answers

Flask deployement on lighttpd and raspberry pi

I'm trying to deploy a hello flask app to a raspberry pi using lighttpd fastCGI. I followed the instructions on the http://flask.pocoo.org/docs/0.10/deploying/fastcgi/ to the best of my ability Here is my flask app (/var/www/demoapp/hello.py) from…
Vincent Roy
  • 71
  • 1
  • 3
7
votes
2 answers

Conditional Lighttpd configuration based on request headers

Is it possible to conditionally configure Lighttpd based on custom request headers? It's possible to do so by IP address (and other variables): $HTTP["remoteip"] == "0.0.0.0" { // Do something } Is there something similar for request headers,…
Mike
  • 7,244
  • 5
  • 21
  • 27
7
votes
5 answers

What would you recommend for a high traffic ajax intensive website?

For a website like reddit with lots of up/down votes and lots of comments per topic what should I go with? Lighttpd/Php or Lighttpd/CherryPy/Genshi/SQLAlchemy? and for database what would scale better / be fastest MySQL ( 4.1 or 5 ? ) or PostgreSQL?
daniels
  • 18,416
  • 31
  • 103
  • 173
7
votes
2 answers

lighttpd configuration to proxy/rewrite from one domain to another

i need to setup proxy/rewrite on lighttpd! i have server1, which serves via http 2 different web app paths: * http://server1/path1 * http://server1/path2 also, i have lighttpd server in front of server1 i want to setup rewriting and/or proxing on…
2013450
  • 71
  • 1
  • 2
7
votes
2 answers

How to display PHP errors when using Lighttpd and Fast-CGI?

I'm running a Lighttpd webserver using FastCGI and the webserver does not output PHP Parse Errors. My php.ini file has the following settings: error_reporting = E_ALL display_errors = Off display_startup_errors = Off log_errors = On html_errors =…
T. Brian Jones
  • 13,002
  • 25
  • 78
  • 117
7
votes
1 answer

Lighttpd load balancing configuration

I am configuring a Load balancer in Play Framework using Lighttpd 1.4.30. I have given entries in lighttpd-inc.conf as below. $HTTP["host"] =~ "http://10.74.9.109:9020" { proxy.balance = "round-robin" proxy.server = ( "/" => ( ( "host" =>…
7
votes
3 answers

Django and fcgi - logging question

I have a site running in Django. Frontend is lighttpd and is using fcgi to host django. I start my fcgi processes as follows: python2.6 //manage.py runfcgi maxrequests=10 host=127.0.0.1 port=8000 pidfile=django.pid For logging, I have a…
Krystian Cybulski
  • 10,789
  • 12
  • 67
  • 98
6
votes
1 answer

Magento: Lighttpd vs Nginx

I'm using Apache in all my Magento installations. I wonder if I should start to use Lighttpd or Nginx to improve performance. What do you think? EDIT 1 I've seen that: nginx:…
jrosell
  • 1,445
  • 14
  • 20
6
votes
3 answers

fastcgi multiplexing?

I'm in process of implementation of a fastcgi application, after reading fastCGI spec I've found a feature called "request multiplexing". It reminded me Adobe RTMP multiplexing back in the days that protocol was proprietary and closed. As far as I…
Igore Vitaller
  • 163
  • 2
  • 8
6
votes
2 answers

Best practice for integrating CherryPy web-framework, SQLAlchemy sessions and lighttpd to serve a high-load webservice

I'm developing a CherryPy FastCGI server behind lighttpd with the following setup to enable using ORM SQLAlchemy sessions inside CherryPy controllers. However, when I run stress tests with 14 concurrent requests for about 500 loops, it starts to…
ento
  • 5,801
  • 6
  • 51
  • 69
6
votes
3 answers

Running Rails and PHP on Lighttpd on Linux

Well, I'm wondering if theres a way to run both rails and PHP on Lighty, on Ubuntu. I want to run both my PHP projects and Rails projects on the one server/domain. I have little experience with Linux really, so forgive my naivety. If theres a way of…
Zen
  • 7,197
  • 8
  • 35
  • 57
6
votes
1 answer

lighttpd + perl + mojolicious =?

Does mojolicious working under the lighttpd web-server? How to cofigure? Does I need setup the FastCGI? It's my first usage of lighttpd.
VeroLom
  • 3,856
  • 9
  • 34
  • 48
6
votes
5 answers

V8 engine compiles JavaScript to machine code. So, why node.js isn't faster than C?

According to language benchmarks, JavaScript V8 is faster than other programming languages at regex-dna program. So, why node.js applications (i.e. http server) isn't faster than C applications (i.e. Nginx, Lighttpd)?
Jeff
  • 14,365
  • 8
  • 30
  • 30
6
votes
2 answers

.htaccess rewrite to another port

I have a joomla setup in my /home/joomla directory. I installed both Apache and Lighttpd i have configured Lighttpd to proxy only static files, and lighttpd is listening on port 81. Now what i want is whenever request for static files are made,…
Subho Halder
  • 1,497
  • 4
  • 16
  • 30
1 2
3
74 75