LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-07-2009, 12:55 AM   #1
ktm_kannan
LQ Newbie
 
Registered: Jan 2009
Distribution: Mandriva
Posts: 22

Rep: Reputation: 16
Post squid url-redriecting


hi
i have a particular problem.
my office have 2 isp (1 cable with static IP other ADSL) two servers running squid (one isp / server)

we have registered some e-journal sites with our static IP (cable).

now my problem
all normal users except Library are connected to the server with ADSL. so in present case only the users from Library can access the e-journals..

now what i need is that whenever someone (connected to ADSL server) enters a particular address (of e-journal) i want that request to be re-routed to the server with static IP..

if this is possible through squid, please someone help me....
 
Old 11-20-2009, 11:01 PM   #2
ktm_kannan
LQ Newbie
 
Registered: Jan 2009
Distribution: Mandriva
Posts: 22

Original Poster
Rep: Reputation: 16
is it not possible?

please anyone help me or say that it is not possible.
 
Old 11-21-2009, 12:05 PM   #3
ge2000
LQ Newbie
 
Registered: Aug 2009
Location: 52N - 5.5E
Distribution: CentOS & Ubuntu
Posts: 11

Rep: Reputation: 0
You could use a cache_peer to upstream for certain sites to the other proxy

Ge
 
Old 11-21-2009, 03:16 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by ktm_kannan View Post
hi
i have a particular problem.
my office have 2 isp (1 cable with static IP other ADSL) two servers running squid (one isp / server)

we have registered some e-journal sites with our static IP (cable).

now my problem
all normal users except Library are connected to the server with ADSL. so in present case only the users from Library can access the e-journals..

now what i need is that whenever someone (connected to ADSL server) enters a particular address (of e-journal) i want that request to be re-routed to the server with static IP..

if this is possible through squid, please someone help me....
If I'm understanding this properly, you should also be able to do what you want with a redirector. However, wouldn't it be simpler to just tweak the DNS so that users get pointed to the IP you want?
 
  


Reply

Tags
squid



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid - URL Rewriting nitrohuffer2001 Linux - Enterprise 1 10-23-2008 07:44 PM
Squid Not allowed IP url rssarathy Linux - Newbie 1 03-19-2008 08:00 AM
Not able to browse one particular URL through squid sakthi.s Linux - Server 2 04-08-2007 03:35 AM
Redriecting ports (Debian 3.1) Master Fox Linux - General 1 04-07-2005 07:05 PM
Squid URL list linuxeagle Linux - Networking 2 05-12-2004 02:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration