ProxyPassReverse
9 posts
• Page 1 of 1
- swissmerlin
- Posts: 17
- Joined: 19 Dec 2012, 17:12
ProxyPassReverse
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
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
Re: ProxyPassReverse
Please fix your rules like this:
ProxyPass http://127.0.0.1:9090/
ProxyPassReverse http://127.0.0.1:9090/
ProxyPass http://127.0.0.1:9090/
ProxyPassReverse http://127.0.0.1:9090/
- swissmerlin
- Posts: 17
- Joined: 19 Dec 2012, 17:12
Re: ProxyPassReverse
Many thanks. It works now perfectly.
- swissmerlin
- Posts: 17
- Joined: 19 Dec 2012, 17:12
Re: ProxyPassReverse
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.
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.
- swissmerlin
- Posts: 17
- Joined: 19 Dec 2012, 17:12
Re: ProxyPassReverse
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:
Any idea, how to fix this?
The application works perfect, if i use it over it's original port 9090.
Many thanks
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
- swissmerlin
- Posts: 17
- Joined: 19 Dec 2012, 17:12
Re: ProxyPassReverse
Hello,
Unfortunately i'm not able to get this solved by myself. It would be very kind, if somebody can help.
Thanks.
Unfortunately i'm not able to get this solved by myself. It would be very kind, if somebody can help.
Thanks.
Re: ProxyPassReverse
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
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
- swissmerlin
- Posts: 17
- Joined: 19 Dec 2012, 17:12
Re: ProxyPassReverse
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.
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.
- swissmerlin
- Posts: 17
- Joined: 19 Dec 2012, 17:12
Re: ProxyPassReverse
Hello
Either this post will be continued or my ticket will be answered.
Either this post will be continued or my ticket will be answered.
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests