Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python as FastCGI under windows and apache

I need to run a simple request/response python module under an existing system with windows/apache/FastCGI.

All the FastCGI wrappers for python I tried work for Linux only (they use socket.fromfd() and other such shticks).

Is there a wrapper that runs under windows?

like image 792
Paul Oyster Avatar asked Nov 23 '08 20:11

Paul Oyster


1 Answers

You might find it easier to ditch FastCGI altogether and just run a python webserver on a localhost port. Then just use mod_rewrite to map the apache urls to the internal webserver.

(I started offering FastCGI at my hosting company and to my surprise, nearly everyone ditched it in favor of just running their own web server on the ports I provided them.)

like image 56
tangentstorm Avatar answered Oct 14 '22 14:10

tangentstorm