08-30-2013
firewall? IP forwarding? Proxy server?
This User Gave Thanks to os2mac For This Post:
10 More Discussions You Might Find Interesting
1. Solaris
hi guys,
I am wondering instead installing to the default directory, how can I install a package using pkgadd command to a specified directory?
I am using solaris 9, thanks (1 Reply)
Discussion started by: fedora
1 Replies
2. Shell Programming and Scripting
HI,
I'm trying to get this right, please can you help. In my unix korn shell script, I call an oracle stored proc within a package and I specify 3 parameters, 2 of which are IN OUT parameters (i.e. I expect the stored proc to change them and return them back to me).
Does the unix code... (7 Replies)
Discussion started by: csong2
7 Replies
3. Solaris
To day i installed boltpkg, hiow ever when i run either a pkg-get install or a pkg-get -u pkg-get re turns the following errors.
pkg-get -u
WARNING: no catalog file for site ftp.sunfreeware.com
Updating catalog file first
Getting catalog...
ld.so.1: wget: fatal: libssl.so.0.9.8: open... (3 Replies)
Discussion started by: FloridaBSD
3 Replies
4. Solaris
can anyone download this solaris pkg and email to me, it wont let me download it anymore from sunsolve.
137481-02 (1 Reply)
Discussion started by: dan7225
1 Replies
5. Solaris
Hi all,
Could please guideas how to extract SUNWexplo.7.2.pkg & SUNWexplu.7.2.pkg from install_stb.sh.
I need to upgrade my Sun Explorer to 7.2 version from 7.1 .
This what written in read me file about its installation:
The Lightweight Availability Collection Tool (LWACT) is no... (1 Reply)
Discussion started by: manalisharmabe
1 Replies
6. Debian
I need to compile a program which uses glib-2.0. I installed the package libglib2.0-0 but the configure script can't find it because the libglib package doesn't provide a .pc file which pkg-config looks for. How can I resolve this?
Debian 6.0 (SPARC) (3 Replies)
Discussion started by: snorkack59
3 Replies
7. Solaris
This is the operating system im using
Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC
I need to install some packages by setting local repository
While i run the below command
# pkg publisher
command returns bash: pkg: command not found
while looking for /usr/bin/pkg i get bash:... (2 Replies)
Discussion started by: babinlonston
2 Replies
8. Solaris
I try to install php-56 in a zone, but I have the following problem:
pkg install php-56
Creating Plan (Running solver): \
pkg install: No solution was found to satisfy constraints
maintained incorporations: None
Creation Plan: dependency error (s) in proposed packages:
Not... (0 Replies)
Discussion started by: ymk369
0 Replies
9. Solaris
Got a repo server with a combined 11.2/11.3 repository.
I want to update latest security patches on server A (which is 11.2). I dont want to upgrade to 11.3 (app reasons).
If I do pkg update all - is there any danger this will happen? If so, how to proceed? (2 Replies)
Discussion started by: psychocandy
2 Replies
10. Solaris
fyi, I already have SR opened with Oracle.
We are looking to upgrade from S11.3 to S11.4 with the latest SRU.
Create new BE; success
Mount new BE; success
pkg -R /mnt update the updating of the global went fine until it touched local zone.
pkg: update failed (linked image... (2 Replies)
Discussion started by: samthewildone
2 Replies
LEARN ABOUT DEBIAN
http::proxy::headerfilter
HTTP::Proxy::HeaderFilter(3pm) User Contributed Perl Documentation HTTP::Proxy::HeaderFilter(3pm)
NAME
HTTP::Proxy::HeaderFilter - A base class for HTTP message header filters
SYNOPSIS
package MyFilter;
use base qw( HTTP::Proxy::HeaderFilter );
# changes the User-Agent header in all requests
# this filter must be pushed on the request stack
sub filter {
my ( $self, $headers, $message ) = @_;
$message->headers->header( User_Agent => 'MyFilter/1.0' );
}
1;
DESCRIPTION
The HTTP::Proxy::HeaderFilter class is used to create filters for HTTP request/response headers.
Creating a HeaderFilter
A HeaderFilter is just a derived class that implements some methods called by the proxy. Of all the methods presented below, only
"filter()" must be defined in the derived class.
filter()
The signature of the filter() method is the following:
sub filter { my ( $self, $headers, $message) = @_; ... }
where $self is the filter object, $headers is a HTTP::Headers object, and $message is either a HTTP::Request or a HTTP::Response
object.
The $headers HTTP::Headers object is the one that will be sent to the client (if the filter is on the response stack) or origin server
(if the filter is on the request stack). If $headers is modified by the filter, the modified headers will be sent to the client or
server.
The init() method (if it exists) is called by the new() constructeur to perform all initisalisation tasks. It's called once in the
filter lifetime.
A HTTP::Proxy::HeaderFilter object is a blessed hash, and the base class reserves only hash keys that start with "_hphf".
new()
The constructor is defined for all subclasses. Initialisation tasks (if any) for subclasses should be done in the "init()" method (see
below).
init()
This method is called by the "new()" constructeur to perform all initisalisation tasks. It's called once in the filter lifetime.
It receives all the parameters passed to "new()".
Standard HeaderFilters
Standard HTTP::Proxy::HeaderFilter classes are lowercase.
The following HeaderFilters are included in the HTTP::Proxy distribution:
simple
This class lets you create a simple header filter from a code reference.
standard
This is the filter that provides standard headers handling for HTTP::Proxy. It is loaded automatically by HTTP::Proxy.
Please read each filter's documentation for more details about their use.
USEFUL METHODS FOR SUBCLASSES
Some methods are available to filters, so that they can eventually use the little knowledge they might have of HTTP::Proxy's internals.
They mostly are accessors.
proxy()
Gets a reference to the HTTP::Proxy objects that owns the filter. This gives access to some of the proxy methods.
AUTHOR
Philippe "BooK" Bruhat, <book@cpan.org>.
SEE ALSO
HTTP::Proxy, HTTP::Proxy::BodyFilter.
COPYRIGHT
Copyright 2003-2005, Philippe Bruhat.
LICENSE
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
perl v5.12.4 2011-07-03 HTTP::Proxy::HeaderFilter(3pm)