That's gonna be messy with IIS6. In IIS7 it's a piece of cake as for IIS6 i'd
suggest using this URL scheme:
thehost.com/johndoe.aspx - when using .aspx at the end you're able to dig
into it via (e.g.) global.asax in ASP.NET. If you want to use dynamic
folders, you'd have to missuse 404 Pages to make this work with IIS6, it's
not worth the effort.
Excellent post on URL Rewriting:
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-a
sp-net.aspx

Signature
More on ASP.NET and Silverlight on my blog: http://www.andreas-kraus.net/blog
On Sep 17, 4:26 am, Andreas Kraus
<AndreasKr...@discussions.microsoft.com> wrote:
> That's gonna be messy with IIS6. In IIS7 it's a piece of cake as for IIS6 i'd
> suggest using this URL scheme:
[quoted text clipped - 24 lines]
>
> > john
put some code into the Application_Error of your global.asax,
something like
Dim httpEx As HttpException = CType(ex, HttpException)
Dim httpCode As Integer = httpEx.GetHttpCode()
If httpCode = 404 Then
'go look up the URL and do a redirect to the appropriate page
End If
Nick Chan - 17 Sep 2007 04:10 GMT
another way is to add the http 404 handler in web.config, and in the
processing page, u get URL Referrer.
URL Referrer doesn't work in some ways, but in my experience, with
hostname.com/username, it works everytime
> On Sep 17, 4:26 am, Andreas Kraus
>
[quoted text clipped - 38 lines]
>
> - Show quoted text -
John Mott - 17 Sep 2007 15:27 GMT
Thanks! I'm guessing that you have to use either relative paths (./) or
complete (http://) paths for images, stylesheets etc.?
john
> another way is to add the http 404 handler in web.config, and in the
> processing page, u get URL Referrer.
[quoted text clipped - 51 lines]
>>
>> - Show quoted text -