IIS 5 & IIS 6
Last post Nov 18, 2009 06:59 AM by davcox
Sep 23, 2009 02:31 PM|KeithBertram|LINK
I've written an ISAPI filter to redirect pages under certain conditions. If the filter redirects to a simple HTML file, it works as expected. If I attempt to redirect to a more complex ASP.NET 2.0 web page (.aspx), then I get an error 403, Forbidden: Access
I'm using IIS6 under Windows Server 2003.
If I remove my ISAPI filter, the ASP.NET page displays correctly. It only fails if it is opened from a redirection within my ISAPI filter.
I'm using the following code inside my ISAPI filter (OnPreProcHeaders function):
pHeaderInfo->SetHeader(pCtxt->m_pFC, "url", newUrlString);
IIS6.0 ISAPI Filter
Nov 18, 2009 06:59 AM|davcox|LINK
A lot of times this will happen when your HTML page is in a separate application pool than your ASPX page. Is this the case?