Server sales turn vendors into very happy bunnies - Inquirer
Server sales turn vendors into very happy bunnies Inquirer, UK - 10 minutes ago IT managers are very interested in virtualisation and Linux and Windows servers in Europe and the rest have stolen market share from Unix, said Nathaniel ...
vincent
09-20-2008 07:20 AM
EPTS4 day 2 started with a a keynote by Susan Urban of Texas Tech Uni on a Roadmap for Research Directions. Susan comes from the active database world and was talking about fun stuff like distributed event processing agents and so forth. Susan emphasized... (0 Replies)
Hi gurus:
We have several production *nix boxes from vendors and the policy here has been to give them root access as and when they require ( upgrade, troubleshooting the application, etc). Sudo is implemented on the systems but vendors cannot upgrade the application cause it says that the root... (2 Replies)
I would like to turn my computer into an internet server so as to have my domain names (myname.com's) point to my home computer. Can I download unix from sun.com and do this with that os?
Also What is apache, ( I'm new to unix and server things) Is this needed to turn my computer into a server.... (4 Replies)
Mojo::Server::PSGI(3pm) User Contributed Perl Documentation Mojo::Server::PSGI(3pm)NAME
Mojo::Server::PSGI - PSGI server
SYNOPSIS
use Mojo::Server::PSGI;
my $psgi = Mojo::Server::PSGI->new;
$psgi->unsubscribe('request');
$psgi->on(request => sub {
my ($psgi, $tx) = @_;
# Request
my $method = $tx->req->method;
my $path = $tx->req->url->path;
# Response
$tx->res->code(200);
$tx->res->headers->content_type('text/plain');
$tx->res->body("$method request for $path!");
# Resume transaction
$tx->resume;
});
my $app = $psgi->to_psgi_app;
DESCRIPTION
Mojo::Server::PSGI allows Mojo applications to run on all PSGI compatible servers.
See Mojolicious::Guides::Cookbook for more.
EVENTS
Mojo::Server::PSGI inherits all events from Mojo::Server.
METHODS
Mojo::Server::PSGI inherits all methods from Mojo::Server and implements the following new ones.
"run"
my $res = $psgi->run($env);
Run PSGI.
"to_psgi_app"
my $app = $psgi->to_psgi_app;
Turn Mojo application into PSGI application.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.2 2012-09-05 Mojo::Server::PSGI(3pm)