Home All Groups Group Topic Archive Search About

How to hide aspx from URL in address bar


Author
10 Jun 2005 7:54 PM
Teemu Keiski
Hi,

what you look for is URL rewriting. There are lots of samples about this on
web.

Here's a few:
http://www.codeproject.com/aspnet/URLRewriter.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/urlrewriting.asp

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
Are all your drivers up to date? click for free checkup

Author
10 Jun 2005 8:08 PM
Chance Hopkins
"strout" <str***@discussions.microsoft.com> wrote in message
news:111B4C86-24DF-4770-A542-E235311851D2@microsoft.com...
> How can I display a url like www.mysite.com/subdir/mypage.aspx?id=2&cat=4
>
> as www.mysite.com/subdir/mypage.html?id=2&cat=4

you can do this first one by mapping the html extension through the aspnet
isapi dll.


You can do this if the page is a you are calling the default doc for the
directory.


>
> strout

If you are doing this for "security". Don't bother, there are a ton of ways
to figure out what the site is running (I can think of three right off the
top of my head). Just learn how the exploits work and build it right.

Bookmark and Share