LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > CGI/Perl/Python > ExtApp python - ERROR 503

Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2008, 01:37 AM
freshmen freshmen is offline
New Member
 
Join Date: Feb 2008
Posts: 1
Default 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?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:53 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.