Letractively / dotnetkicks

Automatically exported from code.google.com/p/dotnetkicks
1 stars 0 forks source link

UrlRewritingNet giving 404 error #177

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I'm having the issues with 404 error with url rewriting in IIS 6 and 7.
   If I browse any dynamics url in dotnetkicks (E.g., 
http://www.dotnetkicks.com/docs/about), then I will get error 404.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using?
DotNetKicks-Beta-0.2.zip

Please provide any additional information below.

Original issue reported on code.google.com by kyawli...@gmail.com on 18 Dec 2007 at 5:50

GoogleCodeExporter commented 9 years ago
FYI - after deploying in production I get the same behavior. The same code on
localhost  works like a charm.

I will provide more information if I find anything.

Original comment by antonioc...@gmail.com on 9 Apr 2008 at 3:17

GoogleCodeExporter commented 9 years ago
It seems like IIS 6 doesn't recognise how to process if there is no file 
extension 
in the Http request. 

The workaround I did is
- I added the file extension in the Url. 
For example, http://www.dotnetkicks.com/docs/about.aspx 

Original comment by kyawli...@gmail.com on 9 Apr 2008 at 4:23

GoogleCodeExporter commented 9 years ago
IIS 5.0/5.1 
See page 12 of the UrlRewrite.NET manual:

http://www.urlrewriting.net/download/UrlRewritingNet20.English.pdf

>>
Handle all requests with placeholder *.* by aspnet_isapi.dll. 
IIS 6.0 
With IIS 6 you can’t handle *.* requests, but you can assign an ISAPI filter 
as an
application placeholder 
(Wildcard application maps).For it you have to follow the steps described on 
page 14,
but not adding a 
file extension under „Wildcard application maps“, but 
„c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll“. 
Do not check „verify that file exists“! 

Original comment by gavinjo...@gmail.com on 9 Apr 2008 at 12:04

GoogleCodeExporter commented 9 years ago
The same problem is with me and i am still unable to get workaround of it.

Original comment by sheh...@gmail.com on 5 Jan 2009 at 6:52