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?"

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux