logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Unable to use Location and PassProxy directive inside it

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
raghavendra.tg



Joined: 29 Jun 2017
Posts: 2
Location: India

PostPosted: Thu 29 Jun '17 11:18    Post subject: Unable to use Location and PassProxy directive inside it Reply with quote

Hi,
I am an newbie to this apache world.
I want to have a reverse proxy configuration inside the Location configuration. This location configuration has an setHandlder to my module.
The configuration is as below.
<Location /example>
SetHandler my_handler
ProxyPass "/example/" "http://10.139.8.61:8080/Demo2/"
</Location>
Using this I get a login page from Demo2. Once I enter the user name and password and submit it says file not found. Upon seeing the logs I see that it is going to search for the local file system rather display the success page.
I required help to get this resolved.
Thanks
Raghavendra
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6202
Location: Germany, Next to Hamburg

PostPosted: Mon 28 Aug '17 23:23    Post subject: Reply with quote

since you are alread in a location there is no need to defined that a second time for proxypass

just use

ProxyPass "http://10.139.8.61:8080/Demo2/"
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1