07-19-2010
Moved to SCO.
Please read the rules: don't hijack existing threads, open a new one instead.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm trying to configure SCO's internet manager for access to
the internet. However, when I start the config program, my desktop turns black & white (unless I minimize communicator's window -- then it turns back to normal).
I type in the user id and password and it looks as if the... (1 Reply)
Discussion started by: gseyforth
1 Replies
2. UNIX for Dummies Questions & Answers
Hi all, :confused:
I want to know about the configuration management tool that is used in SCO UNIXWARE 7.1.3. Please refer some sites where i could get the details.
Thanks in advance
kavitha (2 Replies)
Discussion started by: kavithadass
2 Replies
3. SCO
Hello Guys,
We have an old PC running on SCO Unix V. Is there any sites where i can get manual/procedures on how to install and configure Network. Thanks (2 Replies)
Discussion started by: nrcuevas
2 Replies
4. SCO
Dear Team ,
how i can configure raid 1 (mirroring) using ide hdd in sco open unix 5
i have two 80gb identical hdd (same make/model)
thanx (0 Replies)
Discussion started by: sudhir69
0 Replies
5. SCO
We have many remote servers that are running different versions of the SCO operating system. The current server inventory includes the usage of SCO 3.2v5.0.5 3.2v5.0.6 and 3.2v5.0.7.
Recently, there have been some ongoing problems when a re-boot is done with some of these remote servers.... (0 Replies)
Discussion started by: dclary
0 Replies
6. Linux
Hi,
How to find remote Linux box login account without login in to that box?
I don't have login account at my remote Linux box. But I need who are all having login account. How do I findout?
Thanks,
--Muthu. (3 Replies)
Discussion started by: Muthuselvan
3 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I am working on Servers running SCO OpenServer 5 and I tend to setup a lot of Servers. I am wondering if mkdev -lp to create printers has a file that I can just copy and paste from an exisiting Server to a new (upgrade) server. I can do this with the hosts and resolv.conf files.
... (1 Reply)
Discussion started by: ewerezak
1 Replies
8. Solaris
how to login with ssh to remote system with out applying the remote root/user password
with rlogin we can ujse .rhosts file
but with ssh howits possible
plz guide (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies
9. UNIX for Advanced & Expert Users
Version: Oracle Enterprise Linux 6.3
Running on VMWare Workstation
When I login to my Linux VM from putty, the third line prompting for password comes only after few seconds.
login as: root
Access denied
root@192.168.0.235's password: ---> It takes around 5 seconds to get this prompt
I... (1 Reply)
Discussion started by: John K
1 Replies
10. SCO
Hi,
I am really new to the forum and for SCO as well. I have a burning situation here to know how to configure below list of hardware into SCO 5.0.7!!
EQUINOX 990209-1 ELS 16 PORT TERMINAL SERVER and
Seagate DAT Scorpion 24 - Tape drive ( 12 GB / ) DDS-3 SCSI
Can Any One Please Help Me... (11 Replies)
Discussion started by: Kanthi Kiran
11 Replies
LEARN ABOUT DEBIAN
lwp::protocol::psgi
LWP::Protocol::PSGI(3pm) User Contributed Perl Documentation LWP::Protocol::PSGI(3pm)
NAME
LWP::Protocol::PSGI - Override LWP's HTTP/HTTPS backend with your own PSGI applciation
SYNOPSIS
use LWP::UserAgent;
use LWP::Protocol::PSGI;
# can be Mojolicious, Catalyst ... any PSGI application
my $psgi_app = do {
use Dancer;
setting apphandler => 'PSGI';
get '/search' => sub {
return 'googling ' . params->{q};
};
dance;
};
LWP::Protocol::PSGI->register($psgi_app);
# can hijack any code or module that uses LWP::UserAgent underneath, with no changes
my $ua = LWP::UserAgent->new;
my $res = $ua->get("http://www.google.com/search?q=bar");
print $res->content; # "googling bar"
DESCRIPTION
LWP::Protocol::PSGI is a module to hijack any code that uses LWP::UserAgent underneath such that any HTTP or HTTPS requests can be routed
to your own PSGI application.
Because it works with any code that uses LWP, you can override various WWW::*, Net::* or WebService::* modules such as WWW::Mechanize,
without modifying the calling code or its internals.
use WWW::Mechanize;
use LWP::Protocol::PSGI;
LWP::Protocol::PSGI->register($my_psgi_app);
my $mech = WWW::Mechanize->new;
$mech->get("http://amazon.com/"); # $my_psgi_app runs
METHODS
register
LWP::Protocol::PSGI->register($app);
my $guard = LWP::Protocol::PSGI->register($app);
Registers an override hook to hijack HTTP requests. If called in a non-void context, returns a Guard object that automatically resets
the override when it goes out of context.
{
my $guard = LWP::Protocol::PSGI->register($app);
# hijack the code using LWP with $app
}
# now LWP uses the original HTTP implementations
unregister
LWP::Protocol::PSGI->unregister;
Resets all the overrides for LWP. If you use the guard interface described above, it will be automatically called for you.
AUTHOR
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
COPYRIGHT
Copyright 2011- Tatsuhiko Miyagawa
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Plack::Client LWP::UserAgent
perl v5.12.3 2011-05-12 LWP::Protocol::PSGI(3pm)