Reverse proxy issue

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 19
Joined: 03 May 2012, 19:19

Reverse proxy issue

28 Oct 2015, 12:42

We are using build 148 of Ape here is my config

<Location /discoverer/>
ProxyMaxForwards 5
ProxyPreserveHost On
ProxyReceiveBufferSize 2048
ProxyTimeout 60
ProxyPass http://scends2.sysadmin.suny.edu:7778/discoverer/ ttl=60 keepalive=on
ProxyPassReverse http://scends2.sysadmin.suny.edu:7778/discoverer/
</Location>

It works in that it does properly send traffice off the server. However, I want the orignating host url to remain unchanged.
So when someone enter myurl.com/discoverer there're url remains unchanged. They never see scends2.

Any ideas?

thank you in advance.

-Alex

User avatar
Posts: 19
Joined: 03 May 2012, 19:19

Re: Reverse proxy issue

28 Oct 2015, 15:49

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
X-REQUEST-URI: /discoverer/app/urlapi
X-Rewrite-Url: /discoverer/app/urlapi
X-Original-Url: /discoverer/app/urlapi
Max-Forwards: 10
X-Forwarded-Host: dev.suny.edu
X-Forwarded-For: 141.254.104.151
X-Forwarded-Server: 141.254.104.151
Host: scends2.sysadmin.suny.edu:7778
Connection: Close

It appears that ProxyPreserveHost On/Off is not effecting this traffic. The Host: value should be the website url and not the server we are proxying too.

User avatar
Posts: 19
Joined: 03 May 2012, 19:19

Re: Reverse proxy issue

28 Oct 2015, 15:58

it doesn't seem to work right in build 233 either..

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 0 guests