Trying to hide Isapi Extension with ProxyPass

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 2
Joined: 04 Oct 2012, 14:32

Trying to hide Isapi Extension with ProxyPass

04 Oct 2012, 20:03

I'm trying to hide the extension of our isapi dll module, but it ends in a 502 error (bad gateway).
In the logfile of the IIS, there is one part of the url-path several times concatenated.
My configuration in .htaccess looks like this:

Code: Select all
   <Location /test/>
      ProxyPass http://127.0.0.1/test.dll/
     ProxyPassReverse http://127.0.0.1/test.dll/
  </Location>


and the result logged in the iis-logfile looks like this:

Code: Select all
127.0.0.1 GET /test.dll/test.dll/test.dll/test.dll/test.dll/test.dll/test.dll/test.dll/test.dll/test.dll/test.dll/favicon.ico - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:15.0)+Gecko/20100101+Firefox/15.0.1 502 0 0 0
127.0.0.1 GET /test.dll/test.dll/test.dll/test.dll/test.dll/test.dll/test.dll/test.dll/test.dll/test.dll/favicon.ico.apehandler - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:15.0)+Gecko/20100101+Firefox/15.0.1 502 0 0 0
[...]
127.0.0.1 GET /test.dll/test.dll/test.dll/favicon.ico.apehandler - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:15.0)+Gecko/20100101+Firefox/15.0.1 502 0 0 15
127.0.0.1 GET /test.dll/test.dll/favicon.ico.apehandler - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:15.0)+Gecko/20100101+Firefox/15.0.1 502 0 0 15
127.0.0.1 GET /test.dll/favicon.ico.apehandler - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:15.0)+Gecko/20100101+Firefox/15.0.1 502 0 0 15
<someip> GET /favicon.ico.apehandler - 80 - <otherip> Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:15.0)+Gecko/20100101+Firefox/15.0.1 502 0 0 62


Other locations as test comes to the same result. I hope, someone has a hint for me, what I'm doing wrong.
Any help would be helpful.

Posts: 19
Joined: 28 Sep 2012, 01:54

Re: Trying to hide Isapi Extension with ProxyPass

04 Oct 2012, 23:43

Getting quite the same response. So far, I am still checking it for myself what seems to be the problem. I am still working on it. Image

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

Re: Trying to hide Isapi Extension with ProxyPass

05 Oct 2012, 09:49

Hello,

Please try to enable logging in httpd.conf by uncommenting these lines:

RewriteLogLevel 9
LogLevel debug

And try to catch the records related to your test request, and provide them to us (to [email protected]).

User avatar
Posts: 2
Joined: 04 Oct 2012, 14:32

Re: Trying to hide Isapi Extension with ProxyPass

05 Oct 2012, 20:49

Hello Anton,

thank you for your attention and your hint to the error logging feature.
I made the mistake to add the proxy parameters to the wrong configuration file (.httaccess instead of httpd.conf).
But the results are still not as expected.
The url's in the html code, returned by the isapi app, contains still the extension "dll", which I tried to hide.
So the next click brings back the "bad" type of address.

I'll try to fix that inside the isapi application.

Sincerely yours,

Oliver

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 30 guests