LinuxQuestions.org
Visit Jeremy's Blog.
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, 07: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, 12:03 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,188

Rep: Reputation: 8067Reputation: 8067Reputation: 8067Reputation: 8067Reputation: 8067Reputation: 8067Reputation: 8067Reputation: 8067Reputation: 8067Reputation: 8067Reputation: 8067
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, 05:59 AM   #3
chitambira
Member
 
Registered: Oct 2008
Location: Online
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 04:27 AM
Squid Redirection ajkannan83 Linux - Networking 2 02-15-2007 03:16 AM
mod_rewrite url redirection sqn Linux - Software 2 10-04-2006 08:39 AM
redirection limit for this url is exceeded phpsharma Programming 3 07-16-2005 03:54 AM
url redirection/cookie problem tuxrules Linux - Newbie 3 07-13-2004 06:23 AM

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

All times are GMT -5. The time now is 08:43 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