Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: no webserver(apache)? no problem! test .cgi with Plack/plackup

by Your Mother (Chancellor)
on Apr 04, 2011 at 17:29 UTC ( #897369=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    plackup -L Shotgun -MPlack::App::WrapCGI -e "Plack::App::WrapCGI->new(script => shift)" [cgi]
  2. or download this
    alias pcgi='plackup -Ilib -L Shotgun -MPlack::App::WrapCGI -e "Plack::
    +App::WrapCGI->new(script => shift)"'
    
  3. or download this
    alias pcgi='plackup -L Shotgun -MPlack::App::WrapCGI -e "Plack::App::W
    +rapCGI->new(script => \$ARGV[0])"'
    
    pcgi some.cgi
    HTTP::Server::PSGI: Accepting connections at http://0:5000/
    ...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://897369]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2016-08-28 00:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (390 votes). Check out past polls.