0
votes
1answer
39 views

FastCGI protocol over the network

For a reason that is beyond my control, there is a web server (fairly standard Debian/Apache deployment) sitting on our NAT'd network which takes all traffic to ports 80 and 443. I can't change that. ...
3
votes
2answers
387 views

Nginx choose upstream depending on args

I need to two different sets of upstreams. But all my requests come from the same URL (same path). The difference is that some request will have a special argument and some won't. Depending on that, I ...
3
votes
2answers
3k views

Nginx $document_root$fastcgi_script_name vs $request_filename

I can't notice any difference if in my config file I set fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; Or: fastcgi_param SCRIPT_FILENAME $request_filename; What do ...
1
vote
3answers
520 views

Python app server & web server co-existing?

I have a site example.com that runs off a 'normal' web server ie at the moment Apache but looking to go for a less RAM intensive alternative in future so I don't want mod_WSGI on apache. Shortly I ...
3
votes
1answer
3k views

How to setup Python with Lighttpd and FastCGI (like PHP)

Running Lighttpd on Linux, I would like to be able to execute Python scripts just the way I execute PHP scripts. The goal is to be able to execute arbitrary script files stored in the WWW directory, ...
1
vote
1answer
41 views

Development HTTP server with fastcgi support

I'm looking for a command-line launched HTTP server (à la thttpd -- i.e. which doesn't require system-wide configuration) but which supports generic fastcgi -- preferably which can do its own ...
0
votes
1answer
496 views

How can we solve these errors for Nginx + PHP + FastCGI?

We're using Nginx + PHP + FastCGI for our web server and we just saw a bunch of timeout errors (see below) in the error log. We quickly restarted nginx and that fixed the problem - for now. However, ...
19
votes
1answer
2k views

Recommended Nginx + WSGI Configurations

Please explain pros/cons when using the different Nginx WSGI interfaces? Please explain in detail what differentiates each configuration? Which configuration should scale the best? If relevant, what ...
0
votes
2answers
206 views

How can I set up Trac to run on a webserver?

I'm setting up Trac for a project on a Windows Server 2003 which already has Apache2.2 and Virtual SVN already installed and in use. I managed to install Trac and run it on its in built stand alone ...
2
votes
1answer
726 views

Tangible benefits of keeping web applications and web server separate?

We develop and maintain web applications; and in our current setup; we are using a three-tier system of database server, application server, and web server. So far, so good. The problem we are ...
0
votes
1answer
346 views

Apache2 + FCGI + PHP5 not creating sockets / pools

I have a pretty vanilla setup with Apache2, FastCGI setup as DSO and serving PHP through an external CGI script that sets the max children / serves the request to PHP. The issue is FastCGI doesn't ...
3
votes
3answers
745 views

What's the optimal way to set up a Django server to serve multiple sites?

I currently use Apache 2.0 and FastCGI to serve my Django sites (I host multiple sites from a single server / IP). Each site has it's own FastCGI process which stops Apache forking multiple copies ...