Rank: Newbie
Groups: Member
Joined: 4/3/2006(UTC) Posts: 2
|
I am trying to do a RewritePath in the Application_BeginRequest event and have it working on my local server. However, I cannot get it to work on my hostingfest site. It seems the hostingfest web server is intercepting the HTTP request before it hits the application and returning a 404 error. When I set the 404 error handler in my web.config it doesn't work either, only the 404 error setting in my HELM control has effect. Is there a workaround for this, to let my application handle all the errors?
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 4/3/2006(UTC) Posts: 2
|
Ok looks like the web server doesn't call the .NET application unless the request is for an aspx file. It works as long as you're calling a file with .aspx extension.
|
|
|
|
Rank: Administration
Groups: Administration, Member Joined: 1/3/2006(UTC) Posts: 348 Was thanked: 1 time(s) in 1 post(s)
|
Application_BeginRequest event will fire when any .aspx file is being executed and not any other static file. |
Noman Dormosh
HostingFest |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The HostingFest Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close