Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Configuring Starman a la Apache

by miyagawa (Chaplain)
on May 08, 2011 at 09:51 UTC ( [id://903631]=note: print w/replies, xml ) Need Help??


in reply to Configuring Starman a la Apache

Given $app is your PSGI app:
use Plack::Builder; builder { enable "Static", path => sub { s!^/lib/!! }, root => "/path/to/lib +/"; $app; };
See perldoc Plack::Builder and Plack::Middleware::Static for more details.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-19 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found