IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 16th, 2007, 03:45 AM
jbit32 jbit32 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 1 jbit32 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > IIS Setup Problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT