
June 16th, 2007, 03:45 AM
|
|
Registered User
|
|
Join Date: Jul 2003
Posts: 1
Time spent in forums: 30 m 23 sec
Reputation Power: 0
|
|
|
IIS Setup Problem
The problem I have is to do with IIS delivering a 404 page before processing Application_beginRequest.
With Cassini webserver (which ships with Visual Web Developer), I can use a virtual url which doesn't exist and then RewritePath to working URL by extracting parts of the virtual address as parameters.
In my case I use:
Code:
www.mysite.com/p/home/home/
Then RewitePath to:
Code:
www.mysite.com/index.aspx?sect=home&page=home&type=p
This works only in Cassini, but when I run my application on IIS, it screws up. :/
IIS complains /p/home/home/ doesn't exist, but if it executed Application_beginRequest first then it wouldn't deliver a 404 error.
This really has had me stumped for the past two days and I will probably give up and go back to unfriendly urls. This is my last shot. Any help would be greatly appreciated.
Thanks in advance,
Jason.
Last edited by jbit32 : June 16th, 2007 at 03:47 AM.
Reason: Typo
|