Trying to hide Isapi Extension with ProxyPass
4 posts
• Page 1 of 1
Trying to hide Isapi Extension with ProxyPass
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:
and the result logged in the iis-logfile looks like this:
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.
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.
- warriorfullights
- Posts: 19
- Joined: 28 Sep 2012, 01:54
Re: Trying to hide Isapi Extension with ProxyPass
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.
Re: Trying to hide Isapi Extension with ProxyPass
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]).
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]).
Re: Trying to hide Isapi Extension with ProxyPass
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
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
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 19 guests