Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
20_mod_fastcgi.conf
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ultraincognito
Guru
Guru


Joined: 03 Jun 2011
Posts: 346
Location: Ukraine

PostPosted: Fri Nov 18, 2011 8:50 pm    Post subject: 20_mod_fastcgi.conf Reply with quote

If you successfully use apache2 and FastCGI then show your /etc/apache/modules.d/20_mod_fastcgi.conf please.
I want to executive python scripts under apache but do it with cgi do not want.
With FastCGI I have error 500 in browser and this error in /var/log/apache2/error_log:
Code:
FastCGI: (dynamic) server "/var/www/localhost/htdocs/1.fcgi" (pid 24094) terminated by calling exit with status '0'

My current 20_mod_fastcgi.conf:
Code:
<IfDefine FASTCGI>
FastCgiWrapper Off
FastCgiIpcDir /var/tmp/
FastCgiConfig -autoUpdate -singleThreshold 100 -killInterval 300 -idle-timeout 240 -pass-header HTTP_AUTHORIZATION
<Files *.fcgi>
   AddHandler fastcgi-script .fcgi
   Options +FollowSymLinks +ExecCGI
   Order allow,deny
   Allow from all
</Files>
</IfDefine>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum