Re: [squid-users] How to enable a site without name.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 8 May 2002 19:30:35 +0200

I don't see why you can't add the IP? After all it is what you have..

Note: The redirector you have posted is overly stupid.. can very easily be
circumvented by simply adding ;old to the requested URL. You probably should
extract the hostname from tthe URL before matching..

Regards
Henrik

CGI wrote:
> Sorry you are right, the site has only IP address. I
> can not add the Ip address in redirector, I must add a
> name. This is may problem.
>
> Thanks for your message
> Joe
>
> --- "Squid Support (Henrik Nordstrom)"
>
> <hno@marasystems.com> wrote:
> > What do you mean "without a name"?
> >
> > Without a URL there cannot be a site. The hostname
> > of a URL may be an
> > IP address, but it is still a name.
> >
> > Regards
> > Henrik
> >
> > On Tuesday 07 May 2002 21:41, CGI wrote:
> > > I use a very simple configuration and use a
> >
> > redirector
> >
> > > like this to allow only a few sits for all the
> >
> > users.
> >
> > > I discovered a site without name, so my question
> >
> > what
> >
> > > should I modifiy on squid to allow this
> >
> > connection.
> >
> > > Thanks in advance
> > >
> > > Joe
> > >
> > >
> > >
> > > #!/usr/bin/perl
> > > $|=1;
> > > while (<>) {
> > > if (/.*\.yellow\..*/ ||
> > > /.*\.flycast\..*/ ||
> > > /.*\.yellowpages\..*/ ||
> > > /.*\.mapquest\..*/ ||
> > > /.*\.mapquestdirect\..*/ ||
> > > /.*\.aol\..*/ ||
> > > /.*\.m\-w\..*/ ||
> > > /.*\.sympatico\..*/ ||
> > > /.*theweathernetwork\..*/ ||
> > > /.*\.ccra-adrc\..*/ ||
> > > /.*\.uwaterloo\..*/) {
> > > print;
> > > } else {
> > > print "http://10.10.10.9\n";
> > > }
> > > }
>
> ___________________________________________________________________
>
> > >___ Games, Movies, Music & Sports!
> >
> > http://entertainment.yahoo.ca
> >
> > --
> > MARA Systems AB, Giving you basic free Squid support
> > Your source of advanced web reverse proxying
> > solutions
> > http://www.marasystems.com/producs/
>
> ______________________________________________________________________
> Games, Movies, Music & Sports! http://entertainment.yahoo.ca
Received on Wed May 08 2002 - 11:30:43 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:03 MST