LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-19-2009, 08:04 PM   #1
GGlinux
LQ Newbie
 
Registered: Oct 2008
Posts: 28

Rep: Reputation: 15
Can I use squid for url redirection?


We have squid configured for our internal users for caching.

What I want is that if any user browses to, for example, globtrot.com.au, but we want them to go via our affiliate site if they type that URL, how can I setup a redirection on that URL so it goes to www.globtrot.com.au/affiliates/global.com instead?

Also I should point out that are domain is not globtrot.com, that belongs to someone else, they have written a page for us and we want users to be able to be redirected to that page if they try and go to www.globtrot.com.au.

Can squid do this?
 
Old 01-20-2009, 01:03 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,341

Rep: Reputation: 6040Reputation: 6040Reputation: 6040Reputation: 6040Reputation: 6040Reputation: 6040Reputation: 6040Reputation: 6040Reputation: 6040Reputation: 6040Reputation: 6040
Quote:
Originally Posted by GGlinux View Post
We have squid configured for our internal users for caching.

What I want is that if any user browses to, for example, globtrot.com.au, but we want them to go via our affiliate site if they type that URL, how can I setup a redirection on that URL so it goes to www.globtrot.com.au/affiliates/global.com instead?

Also I should point out that are domain is not globtrot.com, that belongs to someone else, they have written a page for us and we want users to be able to be redirected to that page if they try and go to www.globtrot.com.au.

Can squid do this?
Yes...there's alot of info on Google about doing this, and a tool specifically addressing this can be found http://squirm.foote.com.au/
 
Old 02-24-2009, 06:59 AM   #3
chitambira
Member
 
Registered: Oct 2008
Location: Fife
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 51
http://www.squidguard.org/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 redirection akarayil Fedora 0 10-09-2008 05:27 AM
Squid Redirection ajkannan83 Linux - Networking 2 02-15-2007 04:16 AM
mod_rewrite url redirection sqn Linux - Software 2 10-04-2006 09:39 AM
redirection limit for this url is exceeded phpsharma Programming 3 07-16-2005 04:54 AM
url redirection/cookie problem tuxrules Linux - Newbie 3 07-13-2004 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration