url rewriting

S

Smokey Grindel

I am using ASP.NET 2.0 and know about the static list in the web.config for
URL rewriting, but my list is dynamic and I am running into some problems...

1) How do you get URL rewriting to work in the file based website in ASP.NET
2? I tried and every path I go to comes back as resource not found errors

2) Any good solutions to rewriting dynamic URL's in ASP.NET 2.0? Right now I
have the following format for my paths

http://localhost/ <- doesnt rewrite
http://localhost/article.aspx?articleid=1 <- doesnt rewrite
http://localhost/intranet/ <- doesnt rewrite
http://localhost/internet/ <- these rewrite
http://localhost/internet/maintopic/ < rewrites
http://localhost/internet/maintopic/subtopic/ <- rewrites
http://localhost/internet/maintopic/subtopic/subpage <-rewrites

anything out there that could handle that? all the rewrite ones basicly look
up an article ID in my database and rewrite back to the article.aspx page
based on the ID it finds for the given level...

any help would really help thanks!
 
S

Smokey Grindle

everytime I try something like this with the file based web server in .NET
2.0 it never works... always gives back "resource not fond" even with their
example projects.... when you go to the "virtual" url... guess this is why
I'm having so much trouble
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

URL rewriting 6
URL Rewriting 2
URL rewriting 3
URL rewriting 2
URL Rewriting using IHttpHandlerFactory 0
URL Rewriting and sub folders 0
url rewriting 3
form action attribute + url rewriting 0

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top