Re: [squid-users] Re: https reverse proxy

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 31 Aug 2004 09:33:11 +0200 (CEST)

On Mon, 30 Aug 2004, Estevam Henrique Carvalho wrote:

> Does anybody have a sample ?

A sample of a perl redirector rewriting http:// to https://?

#!/usr/bin/perl -p
BEGIN { $|=1; }
# Rewrite http: to https:
s%^http:%https%;

Regards
Henrik
Received on Tue Aug 31 2004 - 01:33:13 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:03 MDT