Sponsored Content
Top Forums UNIX for Advanced & Expert Users Proxy must be specified as absolute URI Post 302356756 by pludi on Sunday 27th of September 2009 12:45:01 PM
Old 09-27-2009
You've got either the ftp_proxy or http_proxy setting for CPAN set to a single blank. Start the CPAN shell with
Code:
perl -MCPAN -eshell

and enter this
Code:
o conf ftp_proxy ''
o conf http_proxy ''

(That's two single quotes with nothing between them)
 

8 More Discussions You Might Find Interesting

1. Debian

URI Devices issue

Hi gurus, I would like to migrate our windows print server to a debian linux but im newbie and i dont understand. when i try to add printer into Cups im going to localhost:631 and adding printers but i see this URI devices and i dont know how to deal with them? my test scenario is like this: A... (0 Replies)
Discussion started by: saveka
0 Replies

2. UNIX for Dummies Questions & Answers

absolute value

is there any function in unix which will convert a integer to absolute value with a single decimal point. suppose x=15232 y=x/1024=14.875 i want y to be 14.8 Similarly if y=6.29452 it should come as 6.3 (3 Replies)
Discussion started by: dr46014
3 Replies

3. IP Networking

Software/tool to route an IP packet to proxy server and capture the Proxy reply as an

Hi, I am involved in a project on Debian. One of my requirement is to route an IP packet in my application to a proxy server and receive the reply from the proxy server as an IP packet. My application handles data at the IP frame level. My application creates an IP packet(with all the necessary... (0 Replies)
Discussion started by: Rajesh_BK
0 Replies

4. Shell Programming and Scripting

Shell Uri Encoding

It really to make for Russian? from "тест" to "%D1%82%D0%B5%D1%81%D1%82" (1 Reply)
Discussion started by: Trump
1 Replies

5. Shell Programming and Scripting

In PHP replacing text between TAGS & URI information in Title Tag

Hi, what I am trying to do in PHP, is to replace the Title. I need some of the URL information inside aswell depending on the domain. The title is always different so I need to store it in a variable, put the url info like described below in front of it. Here is an example how it should... (0 Replies)
Discussion started by: lowmaster
0 Replies

6. IP Networking

Connecting via proxy chain to Upstream proxy

I need to configure a proxy on my local machine to use an upstream proxy (installed on another machine). The upstream proxy requires Digest/NTLM authorization. I want the local proxy to deal with the upstream proxy's authorization details and provides authorization free access to users that connect... (0 Replies)
Discussion started by: Russel
0 Replies

7. Web Development

Iplanet webserver retaining the URI query string data.

Current Situation: 1. Visit: https://xyz.com/2015/september?trackingparam=1234 2. The URL is missing the trailing / after the “september” directory 3. The URL is redirected and rewritten to: https://xyz.com/2015/september/ , dropping the query string data. Note:... (0 Replies)
Discussion started by: raghur77
0 Replies

8. Web Development

Apache website uri access

Hi i would like to grant access specific to one uri and rest of them should be denied. as follows: http://websitename/example user should be able to access htttp://websitename/other user should be denied (1 Reply)
Discussion started by: raghur77
1 Replies
HTTP::Proxy::BodyFilter::htmltext(3pm)			User Contributed Perl Documentation		    HTTP::Proxy::BodyFilter::htmltext(3pm)

NAME
HTTP::Proxy::BodyFilter::htmltext - A filter to transmogrify HTML text SYNOPSIS
use HTTP::Proxy::BodyFilter::tags; use HTTP::Proxy::BodyFilter::htmltext; # could it be any simpler? $proxy->push_filter( mime => 'text/html', response => HTTP::Proxy::BodyFilter::tags->new, response => HTTP::Proxy::BodyFilter::htmltext->new( sub { tr/a-zA-z/n-za-mN-ZA-M/ } ) ); DESCRIPTION
The HTTP::Proxy::BodyFilter::htmltext is a filter spawner that calls the callback of your choice on any HTML text (outside "<script>" and "<style>" tags, and entities). The subroutine should modify the content of $_ as it sees fit. Simple, and terribly efficient. METHODS
The filter defines the following methods, called automatically: init() Ensures that the filter is initialised with a CODE reference. begin() Per page parser initialisation. filter() A simple HTML parser that runs the given callback on the text contained in the HTML data. Please look at HTTP::Proxy::BodyFilter::htmlparser if you need something more elaborate. SEE ALSO
HTTP::Proxy, HTTP::Proxy::BodyFilter, HTTP::Proxy::BodyFilter::htmlparser. AUTHOR
Philippe "BooK" Bruhat, <book@cpan.org>. 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::BodyFilter::htmltext(3pm)
All times are GMT -4. The time now is 04:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy