LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 04-13-2018, 06:02 AM   #1
rosy1
LQ Newbie
 
Registered: Apr 2018
Posts: 2

Rep: Reputation: Disabled
URL mapping with http Location directive


Hi,

I was creating a http server like this: to access a url from browser
Code:
http://server1/pod1/app1
and it should be redirected to
Code:
http://server1/app1
using http configuration.

I have created a configuration like this:

Code:
<Location /pod1/app1>
    ......
    ......
    ProxyPass http://server1:7001/app1
    ProxyPassReverse http://server1:7001/app1
 </Location>
Without the prefix pod1, application is working fine, but with pod1 prefix, url is dropping the prefix pod1 from the url when the response comes back from the web server.

Can anyone help me in this if I am missing anything ?

Last edited by rosy1; 04-13-2018 at 08:21 AM.
 
  


Reply



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
LXer: HTTP/2 Server Push Directive Lands in Nginx 1.13.9 LXer Syndicated Linux News 0 02-21-2018 04:40 AM
squid url mapping newbie question leenucks Linux - Newbie 4 07-22-2011 01:11 PM
mapping the geographic location of a given ip address range kaplan71 Linux - Software 1 05-18-2010 01:59 PM
Mapping IP to URL keysorsoze Linux - Software 3 05-17-2006 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:57 PM.

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