Re: [OT] Apache proxy pass query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dan Track wrote:
> Hi
> 
> I just thought perhaps somebody may quickly know the answer to this
> and it might be worth posting.
> 
> I've got an internal app that when connecting to it e.g
> www.example.com it redirects to www.example.com/login. After login the
> url changes to have a session ID attached to it. Now I would like to
> proxypass a url to this url e.g
> 
> ProxyPass /mail http://www.example.com:8080/
> ProxyPassReverse /mail http://www.example.com:8080/
> 
> The problem I have is when I type in www.myurl2.com/mail I get
> redirected to www.myurl2/login, and then I get a page not found error
> (404). Could somebody please point out what I need to do to the above
> lines to get it to rewrite the url to include the /login and
> appropriate session id to "myurl2.com"
> 
> Thanks in advance
> Dan
> 

You are being redirected to port 80, not 8080 it appears.  So yeah, page
not found.  Are you doing this on the same machine?  Why not use
NamedVirtualHosts and have it redirect to http://www.myexample.com ?

Is that all of the lines in the configuration?  The redirect is done by
the app?

-- 
Brian Millett - [ Londo (to Garibaldi), "The Gathering"]
"You're a security chief. Shouldn't you be out securing something?"


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux