1
vote
1answer
121 views

How should I use a proxy server to access the internet - with custom Python plugins for request processing? [closed]

We're trying to understand how to set up a proxy server for our Web application. We need several processes to access the Internet through a proxy server in the internal network. Ideally, we could ...
1
vote
1answer
964 views

Port 80 redirect does not work for localhost

I want to run a simple python webserver on my ubuntu linode with the following command (it simply puts the current dir up on the port specified) python -m SimpleHTTPServer 8080 I am using port 8080 ...
0
votes
4answers
668 views

Avoiding 502 Bad gateway in a round robin webserver process restart

I have a load balancer/reverse proxy (either nginx or cherokee, does not matter which) deployed on my server and it points to multiple background webserver processes (either gunicorn or cherrypy, does ...
-1
votes
1answer
361 views

Need python script for vulnerability assessment? [closed]

How to scan my server remotely? I want to scan a website, so my server, and gathered information related to webserver and other software associated info. I got one named blindelephant . But it is not ...
3
votes
3answers
323 views

Django: Nginx with WSGI or Apache with WSGI

Are there any studies comparing the performance (RPS, CPU, Memory usage etc) of delivering python web apps (Django in my case) between nginx and Apache? Can someone help me with facts? Which ...
1
vote
3answers
488 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
2answers
3k views

How to run php with SimpleHTTPServer?

I just found this awesome tip in the Apple SE: Start a quick webserver from any directory: python -m SimpleHTTPServer 8000 Is there a way to have this parse php scripts, or is this for ...
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, ...
5
votes
2answers
2k views

Where to find python fabric setup examples?

I want to know what is your experience with fabric scripts? Do think it is useful? is there sample scripts for this? copying, setup service etc I know there is puppet and chef but i am looking for ...
4
votes
1answer
491 views

What am I (a beginner) losing, by choosing Cherokee over Apache for serving dynamic content?

I am a complete beginner and am planning to setup a photo sharing site. This is the setup I am planning, basically for a start - - Cherokee (instead of Apache) for serving dynamic content ...
2
votes
1answer
120 views

Web application deployment - checkout or not

When deploying a Python web application what are the pros and cons of using the following methods to deploy the application: Use the VCS to make a checkout on the server Use FTP/SSH/rsync to ...
1
vote
6answers
380 views

cron job on web server

How would I go about telling my web server (Webfaction) to just run a python file and let it keep running forever? Someone told me I should use cron but I haven't found any good material on how to run ...
0
votes
2answers
192 views

How do you separate a wsgi django/python app server from the web server?

I've built a django / python application, running on apache with wsgi, and hosted on a single amazon AWS EC2 instance. It a custom client application, so low traffic, but one part of my application ...
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 ...
1
vote
1answer
204 views

How to keep a pylons web-application server running on windows server 2003

We have a pylons web application running on a windows server 2003 machine. There is a startup script that runs in a "dos box". From time to time the script crashes and the server is then down. How ...
0
votes
1answer
207 views

Tornado - transferring a file to CDN

I have the nginx upload module handling site uploads, but still need to transfer files (3-20 MB each, let's say) to our CDN, and would rather not delegate that to a background job. what is the best ...
2
votes
1answer
405 views

apache prefork/mod_wsgi spawning processes beyond configuration

in a production environment running nginx reversing back to apache mpm-prefork/mod_wsgi, im seeing 90 apache child processes, when i would expect that 40 would be the maximum, as configured below. the ...