rewriteproxy issue with asp.net/sharepoint site

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 2
Joined: 04 May 2012, 23:11

rewriteproxy issue with asp.net/sharepoint site

04 May 2012, 23:23

Im having issues getting rewriteproxy to work correctly on an asp.net sharepoint backed website.

My rule:
RewriteEngine on
RewriteBase /
RewriteProxy Streaming/(.*)$ http\://wish.moodys.com/Streaming/$1 [NC,U,H]


Output in RequestLog:
forcing proxy-throughput with http://wish.moodys.com/Streaming/ping.p ... 6184270860
go-ahead with proxy request http://wish.moodys.com/Streaming/ping.p ... 6184270860 [OK]
Rewrite URL to >> /Streaming/ping.phpx.rwhlp?p=16
rewrite 'Streaming/ping.php' -> '/Streaming/ping.phpx.rwhlp?p=16'
internal redirect with /Streaming/ping.phpx.rwhlp?p=16 [INTERNAL REDIRECT]

IIS entry is only showing the /Steaming/ping.phpx.rwhlp?p=16

I tested the instal by setting up a simple html page with the code needed to mimic this request and its running without issue and whats odd is the log entry in requestlog is same except its p=0 and in IIS i see the full request entry.

Any assitance would be greatly appreciated.

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: rewriteproxy issue with asp.net/sharepoint site

07 May 2012, 09:13

Please, try to make a request from browser, capturing the results in Fiddler. And provide us with the Fiddler log.

Regards
Andrew

User avatar
Posts: 2
Joined: 04 May 2012, 23:11

Re: rewriteproxy issue with asp.net/sharepoint site

07 May 2012, 12:38

i have atached the fiddler output
Attachments
Issue1.zip
(966.63 KiB) Downloaded 1257 times

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: rewriteproxy issue with asp.net/sharepoint site

10 May 2012, 05:55

Hello,

1. Pleas,e try using NotificationType=PREPROC_HEADERS directive on top of your config file. Make issreset after insertion.
2. Take a look at IIS logs, in case you have /Streaming/ping.phpx.rwhlp?p=16, than it's ISAPI_Rewrite's problem, n case there're no such entries, than ISAPI_Rewrite didn't even have a chance to do anything with request.
3. What other ISAPI_Filter do you use? (in case #1 didn't help)

Regards
Andrew

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 2 guests