Re: [squid-users] redirect url

This is a discussion on Re: [squid-users] redirect url within the Squid Users forums, part of the Web Server and Related Forums category; My Friend. Let me think that your specific url is for example : www.myweb.com . Now you can write a ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-05-2003
Ehsan Lesani
 
Posts: n/a
Default Re: [squid-users] redirect url

My Friend.
Let me think that your specific url is for example : www.myweb.com .
Now you can write a chain before redirection of SQUID :

iptables -t nat -A PREROUTING -p tcp -d www.myweb.com -j
DNAT --to-destination <your favourite web site>

I think it should be work.
Please replay me the reason of your experience.

Best Regards.
Ehsan Lesani.

----- Original Message -----
From: "babar haq" <babarhaq@email.com>
To: "Ehsan Lesani" <ehsan@safineh.net>
Sent: Friday, September 05, 2003 11:36 AM
Subject: Re: [squid-users] redirect url


> can u give me an idea wat kind of rule it would be ....or point me to some

resource
> thanx any way
> Regards,
> Babar Haq
> ----- Original Message -----
> From: "Ehsan Lesani" <ehsan@safineh.net>
> Date: Fri, 5 Sep 2003 14:50:08 +0100
> To: "babar haq" <babarhaq@email.com>, <squid-users@squid-cache.org>
> Subject: Re: [squid-users] redirect url
>
> > Dear Friend.
> > If you are using a linux I think it would be better that you use from
> > iptables or ipchains to do this one.
> >
> > Best Regards.
> > Ehsan Lesani.
> >
> > ----- Original Message -----
> > From: "babar haq" <babarhaq@email.com>
> > To: <squid-users@squid-cache.org>
> > Sent: Wednesday, September 03, 2003 2:31 PM
> > Subject: [squid-users] redirect url
> >
> >
> > > i am running squid 2.5 stable 3.
> > > i want a specific url to be serviced by a local windows iis

webserver???
> > ie i want to redirect the url to a specific machine on our lan??
> > > is there any such option in squid??
> > > i hope my question is clear
> > >
> > > Regards,
> > > Babar
> > > --
> > > __________________________________________________ ________
> > > Sign-up for your own personalized E-mail at Mail.com
> > > http://www.mail.com/?sr=signup
> > >
> > > CareerBuilder.com has over 400,000 jobs. Be smarter about your job

search
> > > http://corp.mail.com/careers
> > >

> >
> >

>
> --
> __________________________________________________ ________
> Sign-up for your own personalized E-mail at Mail.com
> http://www.mail.com/?sr=signup
>
> CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
> http://corp.mail.com/careers
>



Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:23 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0