Help for this page

Select Code to Download


  1. or download this
    #!/home/mh/perl514/bin/plackup -s FCGI --listen /tmp/fcgi.sock --daemo
    +nize --nproc 10 
    
    ...
    return sub {
       return [ 200, ["Content-Type" =>  "text/plain"], ["hi"] ];
    }
    
  2. or download this
     ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
            <Directory "/usr/lib/cgi-bin">
    ...
                    AddHandler fcgid-script .psgi
            </Directory>
    
  3. or download this
    HTTP::Server::PSGI: Accepting connections at http://0:5000