LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-20-2011, 04:04 AM   #1
leenucks
LQ Newbie
 
Registered: Jul 2011
Posts: 7

Rep: Reputation: Disabled
squid url mapping newbie question


For months, off and on I've been looking for an answer to this question. Using squid, can you proxy the URL http://www.example.com/app1/ through the site http://www.proxy-example.com.

From the end-user perspective they would go to and maintain the URL http://www.proxy-example.com and squid would proxy the application at http://www.example.com/app1/. More simply the application available at http://www.example.com/apps1/ would load into the namespace/domain http://www.proxy-example.com . Any guidance would be appreciated.
 
Old 07-20-2011, 09:05 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,520

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
Hi and welcome to LQ

This configuration is called a reverse proxy.
You should have a look at this

Regards
 
Old 07-20-2011, 07:03 PM   #3
leenucks
LQ Newbie
 
Registered: Jul 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bathory View Post
Hi and welcome to LQ

This configuration is called a reverse proxy.
You should have a look at this

Regards
Thanks Bathory, I read the wiki, the only examples I saw were proxying http://www.internal-domain.com through http://www.external-domain.com. I'd like to know if it's possible to proxy http://www.internal-domain.com/APP1/ through http://www.external-domain.com without having to append /APP1/ to the end of http://www.external-domain.com. I don't want to expose the uri stem of /APP1/ to the public. I don't want to waste time trying to configure this and learning the hard way that what I'm trying to do isn't possible. I hope my examples aren't confusing.

leenucks
 
Old 07-22-2011, 12:00 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,520

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
Hi,

Rewriting URLs with squid is done by an external program. Keep in mind that depending on the backend application/server it might not work.
I've never done it, but you might take a look at this example.

Regards
 
Old 07-22-2011, 02:11 PM   #5
leenucks
LQ Newbie
 
Registered: Jul 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
thanks Bathory.. yours is the best lead I've got... thanks again...
 
  


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 - Redirecting one url to another Squid Server tom@work Linux - Server 0 09-09-2010 05:56 PM
Cannot Redirect URL to another URL when the link is down with Squid marx_long Linux - Newbie 1 06-13-2010 09:59 PM
Mapping IP to URL keysorsoze Linux - Software 3 05-17-2006 09:02 AM


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