ProxyPassReverse

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

ProxyPassReverse

14 Mar 2013, 18:18

Hello,

It looks so simple, even after studing the documentation, bit i'm not able to get it alive.

I have a web server having IIS and an Java application called CrushFTP running.

Instead of using the URL http://mydomain.ch:9090, we like to have the URL http://mydomain.ch.

I added this in the .htaccess of the domain:

ProxyPass / http://127.0.0.1:9090/
ProxyPassReverse / http://127.0.0.1:9090/

Ape fired an error telling me, that the syntax of the secondline is wrong.

Many thanks

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: ProxyPassReverse

15 Mar 2013, 07:14

Please fix your rules like this:

ProxyPass http://127.0.0.1:9090/
ProxyPassReverse http://127.0.0.1:9090/

User avatar
Posts: 17
Joined: 19 Dec 2012, 17:12

Re: ProxyPassReverse

15 Mar 2013, 09:48

Many thanks. It works now perfectly.

User avatar
Posts: 17
Joined: 19 Dec 2012, 17:12

Re: ProxyPassReverse

19 Mar 2013, 20:54

Actually it, works not so perfectly ;-) The Java application "CrushFTP" is a web based file manager, even for very large files.
The application works, if i call it over its own port 9090. If i use the proxy, an upload will not work. The Uploader is running in an endless situation. The adminstration of the application works well.

I'm not really familiar with the applications session management. I think, it could be that the sessions stuff is not passed from/to the proxy? Any idea where i can start my investigation?

Many thanks.

User avatar
Posts: 17
Joined: 19 Dec 2012, 17:12

Re: ProxyPassReverse

21 Mar 2013, 15:10

Hello,

After switching on the logging of Helicon Ape, i found some evidence that the connection between iis and the java application gets closed. At the time, i initiate an upload, i get this in the log file:

Code: Select all
[21.03.2013 19:07:27] [proxy] (8) [/WebInterface/function/] request to http://127.0.0.1:9090/WebInterface/function/
[21.03.2013 19:07:28] [proxy] (8) [/WebInterface/function/] request to http://127.0.0.1:9090/WebInterface/function/
[21.03.2013 19:07:29] [proxy] (8) [/WebInterface/function/] request to http://127.0.0.1:9090/WebInterface/function/
[21.03.2013 19:07:30] [proxy] (8) [/WebInterface/function/] request to http://127.0.0.1:9090/WebInterface/function/
[21.03.2013 19:07:31] [proxy] (8) [/WebInterface/function/] request to http://127.0.0.1:9090/WebInterface/function/
[21.03.2013 19:07:33] [proxy] (8) [/WebInterface/function/] request to http://127.0.0.1:9090/WebInterface/function/
[21.03.2013 19:07:34] [proxy] (8) [/WebInterface/function/] request to http://127.0.0.1:9090/WebInterface/function/
[21.03.2013 19:07:35] [proxy] (8) [/WebInterface/function/] request to http://127.0.0.1:9090/WebInterface/function/
[21.03.2013 19:07:36] [proxy] (8) [/WebInterface/function/] request to http://127.0.0.1:9090/WebInterface/function/
[21.03.2013 19:07:37] [proxy] (8) [/WebInterface/function/] request to http://127.0.0.1:9090/WebInterface/function/
[21.03.2013 19:07:38] [proxy] (8) [/WebInterface/function/] request to http://127.0.0.1:9090/WebInterface/function/
[21.03.2013 19:07:39] [proxy] (8) [/WebInterface/function/] request to http://127.0.0.1:9090/WebInterface/function/
[21.03.2013 19:07:41] [proxy] (8) [/WebInterface/function/] request to http://127.0.0.1:9090/WebInterface/function/
[21.03.2013 19:07:42] [proxy] (8) [/WebInterface/function/] request to http://127.0.0.1:9090/WebInterface/function/
[21.03.2013 19:07:43] [proxy] (8) [/WebInterface/function/] request to http://127.0.0.1:9090/WebInterface/function/
[21.03.2013 19:07:43] [proxy] (8) [/WebInterface/function/] request to http://127.0.0.1:9090/WebInterface/function/?command=getSessionTimeout


Any idea, how to fix this?

The application works perfect, if i use it over it's original port 9090.

Many thanks

User avatar
Posts: 17
Joined: 19 Dec 2012, 17:12

Re: ProxyPassReverse

25 Mar 2013, 23:45

Hello,

Unfortunately i'm not able to get this solved by myself. It would be very kind, if somebody can help.
Thanks.

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: ProxyPassReverse

28 Mar 2013, 11:10

Hello,

Sorry, I didn't get the updates for your topic for some reason.

Please try to add the following line:

ProxyPassReverseCookieDomain localhost domain-with-proxy

User avatar
Posts: 17
Joined: 19 Dec 2012, 17:12

Re: ProxyPassReverse

28 Apr 2013, 09:56

Hello Anton,

I was busy to do different things. Now I'm coming back to this issue:

I tried this:

ProxyPassReverseCookieDomain http://127.0.0.1:9090 mydomain.ch

Unfortunately, it doesn't help.

User avatar
Posts: 17
Joined: 19 Dec 2012, 17:12

Re: ProxyPassReverse

27 Jun 2013, 22:19

Hello

Either this post will be continued or my ticket will be answered. :?:

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 0 guests