It could well be absolute links within the original site.
If the username/pwd screen is coming up from the CRM software then the
proxy is working.
It probably sends you then directly to "http://someotherplace/main.asp"
rather than "/main.asp" or something
There is another module for apache that will scan the reply data and
re-write those absolute links into a link that will run through the
proxy (cant remember what it is at the moment though lol, its something
like proxy-rewrite or similar).
Hongduc Nguyen wrote:
Matthew,
I've added the following to my config: ProxyPreserveHost On
But am still getting the same issue. Here's a snippet of my error_log file,
appreciate it if anyone could provide any assistance.
Tue Mar 10 16:21:51 2009] [debug] mod_proxy_http.c(54): proxy: HTTP:
canonicalising URL //192.168.xxx.xxx:9999/
[Tue Mar 10 16:21:51 2009] [debug] proxy_util.c(1335): [client 192.168.245.52]
proxy: http: found worker http://192.168.xxx.xxx:9999/for
http://192.168.xxx.xxx:9999/
[Tue Mar 10 16:21:51 2009] [debug] mod_proxy.c(756): Running scheme http
handler (attempt 0)
[Tue Mar 10 16:21:51 2009] [debug] mod_proxy_http.c(1687): proxy: HTTP: serving
URL http://192.168.xxx.xxx:9999/
[Tue Mar 10 16:21:51 2009] [debug] proxy_util.c(1755): proxy: HTTP: has
acquired connection for (192.168.xxx.xxx)
[Tue Mar 10 16:21:51 2009] [debug] proxy_util.c(1815): proxy: connecting
http://192.168.xxx.xxx:9999/ to 192.168.xxx.xxx:9999
[Tue Mar 10 16:21:51 2009] [debug] proxy_util.c(1908): proxy: connected / to
192.168.xxx.xxx:9999/
[Tue Mar 10 16:21:51 2009] [debug] proxy_util.c(2002): proxy: HTTP: fam 2
socket created to connect to 192.168.xxx.xxx
[Tue Mar 10 16:21:51 2009] [debug] proxy_util.c(2098): proxy: HTTP: connection
complete to 192.168.xxx.xxx:9999 (192.168.xxx.xxx)
[Tue Mar 10 16:21:51 2009] [debug] mod_proxy_http.c(1465): proxy: start body
send
[Tue Mar 10 16:21:51 2009] [debug] mod_proxy_http.c(1554): proxy: end body send
[Tue Mar 10 16:21:51 2009] [debug] proxy_util.c(1773): proxy: HTTP: has
released connection for (192.168.xxx.xxx)
Regards,
-----Original Message-----
From: Matthew Hannigan [mailto:[email protected]]
Sent: Tuesday, 10 March 2009 12:36 PM
To: Hongduc Nguyen
Cc: [email protected]
Subject: Re: [SLUG] Apache reverse proxying with MS
You might try ProxyPreserveHost
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypreservehost
--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.mailguard.com.au
Click here to report this message as spam:
https://login.mailguard.com.au/report/1x1tQOLoIe/4XBSh8ygMTbhfSIVLLNach/0
Please consider our environment before printing this email.
This e-mail and any files transmitted with it are privileged and confidential
information intended for the use of the addressee. The confidentiality and/or
privilege in this e-mail is not waived, lost or destroyed if it has been
transmitted to you in error. If you have received this e-mail in error you must
(a) not disseminate, copy or take any action in reliance on it; (b) notify
[email protected] and the sender immediately; and (c) delete the
original e-mail.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html