LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   CGI/Perl/Python (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=22)
-   -   ExtApp python - ERROR 503 (http://www.litespeedtech.com/support/forum/showthread.php?t=1766)

freshmen 02-17-2008 01:37 AM

ExtApp python - ERROR 503
 
want to give ability to execute any python script via ExtApp-ScriptHandler

<scriptHandler>
<suffix>py</suffix>
<type>fcgi</type>
<handler>pt</handler>
<note></note>
</scriptHandler>

<extProcessor>
<type>fcgi</type>
<name>pt</name>
<address>UDS://tmp/lshttpd/pt.sock</address>
<note></note>
<maxConns>20</maxConns>
<initTimeout>60</initTimeout>
<retryTimeout>0</retryTimeout>
<persistConn></persistConn>
<pcKeepAliveTimeout></pcKeepAliveTimeout>
<respBuffer>0</respBuffer>
<autoStart>1</autoStart>
<path>/usr/bin/python</path>
<backlog></backlog>
<instances>20</instances>
<runOnStartUp></runOnStartUp>
<extMaxIdleTime></extMaxIdleTime>
<priority></priority>
<memSoftLimit>250M</memSoftLimit>
<memHardLimit>250M</memHardLimit>
<procSoftLimit>200</procSoftLimit>
<procHardLimit>200</procHardLimit>
</extProcessor>

always got the same error:
HTTP request sent, awaiting response... 503 Service Unavailable
15:21:23 ERROR 503: Service Unavailable.

it is possibly to execute scripts with ScriptHandler?
if so, where is my mistake?


All times are GMT -7. The time now is 06:36 AM.