You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Nilesh Govindarajan <li...@itech7.com> on 2010/01/21 07:01:49 UTC

[users@httpd] Running Python over FastCGI

Hi, I have Apache 2.2.14 with mod_fastcgi. I am running PHP using this 
configuration -

AddHandler php-fcgi .php

FastCgiServer cgi-bin/php-cgi

Action php-fcgi cgi-bin/php-cgi

<FilesMatch "\.php$">
	
    Options +ExecCGI

</FilesMatch>

And it is working properly.

Is there any such method to run python too ? I am relatively new to 
python and won't like to use that WSGI things.

-- 
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Re: Running Python over FastCGI

Posted by Robin Becker <ro...@reportlab.com>.
On 21/01/2010 13:54, Nilesh Govindarajan wrote:
> On 01/21/2010 11:31 AM, Nilesh Govindarajan wrote:
>> Hi, I have Apache 2.2.14 with mod_fastcgi. I am running PHP using this
>> configuration -
>>
>> AddHandler php-fcgi .php
>>
>> FastCgiServer cgi-bin/php-cgi
>>
>> Action php-fcgi cgi-bin/php-cgi
>>
>> <FilesMatch "\.php$">
>>
>> Options +ExecCGI
>>
>> </FilesMatch>
>>
>> And it is working properly.
>>
>> Is there any such method to run python too ? I am relatively new to
>> python and won't like to use that WSGI things.
>>
>
> List, any ideas ?
>
I run django applications using the fastcgi handlers provided by flup see

http://www.saddi.com

effectively we serve fastcgi for various domains using a specific fastcgi server 
socket; it works very well and decouples the python from the apache process. 
I've also used the same mechanism to run fastcgi scripts which also worked 
pretty well.
-- 
Robin Becker

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Re: Running Python over FastCGI

Posted by Eric Covener <co...@gmail.com>.
On Thu, Jan 21, 2010 at 8:54 AM, Nilesh Govindarajan <li...@itech7.com> wrote:
> On 01/21/2010 11:31 AM, Nilesh Govindarajan wrote:
> List, any ideas ?
>

Please don't bump your thread so quickly.

Do you really not find sufficient info searching the web for e.g.
"python fastcgi apache"?

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: Running Python over FastCGI

Posted by Nilesh Govindarajan <li...@itech7.com>.
On 01/21/2010 11:31 AM, Nilesh Govindarajan wrote:
> Hi, I have Apache 2.2.14 with mod_fastcgi. I am running PHP using this
> configuration -
>
> AddHandler php-fcgi .php
>
> FastCgiServer cgi-bin/php-cgi
>
> Action php-fcgi cgi-bin/php-cgi
>
> <FilesMatch "\.php$">
>
> Options +ExecCGI
>
> </FilesMatch>
>
> And it is working properly.
>
> Is there any such method to run python too ? I am relatively new to
> python and won't like to use that WSGI things.
>

List, any ideas ?

-- 
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org