Re: [squid-users] Redirection

From: Manoj Rajkarnikar <manoj@dont-contact.us>
Date: Mon, 26 Feb 2007 15:51:39 +0545 (NPT)

On Mon, 26 Feb 2007, SQUID Mailing List wrote:

> Hi,
>
> Redirection is not enabled by the default by Squid. Although I think it is
> easy to enable this, I haven't tried it yet. Have a look at
> http://wiki.squid-cache.org/SquidFaq/SquidRedirectors.
> If you want redirection to any url from any url, try configuring it on
> your http server instead.

you can redirect using "http_access deny" and "deny_info" config options.
see http://wiki.squid-cache.org/SquidFaq/SquidAcl for more info.

>
> > Hello,
> >
> > How do I redirect an address to a HTML file I create.
> >
> > The HTML file contains a H1 massage that says
> > "Squid Proxy is Enabled",
> >
> > I'm planning to redirect http://test/, http://squid/ to this HTML file
> > that I put in /usr/share/squid-gui/messages/squid-test.html
> >
> > How can I do this?
> >
> > Thank you for Squid! It is a very wonderful software!
> >
> > Regards,
> > Joel
> >
>
>

-- 
Manoj Rajkarnikar 
Systems Department 
Vianet Communications Pvt Ltd
Pulchowk, Lalitpur, Nepal. 
(PH)977-1-5546410
Received on Mon Feb 26 2007 - 03:06:59 MST

This archive was generated by hypermail pre-2.1.9 : Thu Mar 01 2007 - 12:00:01 MST