|
hello everybody ! I'm a newer to appweb,there are some error in my logs/error.log
default:1 pool.0 Error: 503 "Service Unavailable" for "/cgi-bin/helloworld.cgi", file "/var/www/appweb-default/cgi-bin/helloworld.cgi": Can't run CGI process: /cgi-bin/helloworld.cgi, URI /cgi-bin/helloworld.cgi
but in my appweb.conf ,I have set as:
<if CGI_MODULE> LoadModule cgi libcgiModule AddHandler cgiHandler .cgi .cgi-nph .bat .cmd .pl .py <Location /cgi/> SetHandler cgiHandler ExtraPath on </Location> ScriptAlias /cgi-bin/ "$DOCUMENT_ROOT/cgi-bin" # # These actions specify the program to run for each Perl or Python # script. They map to the extensions specified in the mime.types for for # these mime types. Alternatively, you may use put all your scripts in # the subdirectories specified by the releavant Location blocks below. # For perl and python, you can also put "#!/path/to/program" as the first # line. This works on Windows as well. The .bat and .cmd extensions are # really only for Windows. For Windows, update the program paths with # the right paths. # Action application/x-appweb-perl /usr/bin/perl Action application/x-appweb-python /usr/bin/python </if>
but it does'nt work ,plz help me! thank u!
|