urlrewriter

What Url rewriter do you use for ASP.Net?

I've looked at several URL rewriters for ASP.Net and IIS and was wondering what everyone else uses, and why. Here are the ones that I have used or looked at: ThunderMain URLRewriter: used in a previous project, didn't quite have the flexibility/performance we were looking for Ewal UrlMapper: used in a current project, but source seem...

How do I stop UrlRewriter stripping my + symbols

I'm using Intelligencia's UrlRewriter in my application and I'm having a problem where the rules I've setup appear to be stripping the + symbol from my url. For example I want to have the urls /category/catname/+tag+tag but it appears to me as /category/catname/ tag tag Does anyone have any ideas and is this down to my regular expressi...

Ampersands in URLRewriter Query Strings

I have a query string parameter value that contains an ampersand. For example, a valid value for the parameter may be: a & b When I generate the URL that contains the parameter, I'm using System.Web.HTTPUtility.UrlEncode() to make each element URL-friendly. It's (correctly) giving me a URL like: http://example.com/foo?bar=a+%26b The...

Intelligencia.UrlRewriter

Hi, I'm using the Intelligencia UrlRewriter on a project. It's working fine to rewrite urls typed into the browser. For example, if I enter http://localhost/People This is being correctly rewritten as: http://localhost/People.aspx Now, the problem is, when I am in the code behind I need to access the Friendly URL, but Request.S...

Using Intelligencia UrlRewriter regex .asp pages to a holding page

When looking over the statistics for my site, I realized that the vast majority of traffic is coming via third party links to classic ASP pages which haven't existing for a few years now. I decided that adding a bunch of urlMappings to the web.config wasn't a great idea, so I added Intelligencia UrlRewrite and tried to add a rule, as fo...

UrlRewriter Page Not Found Problem

Hello All, I have currently implemented Url Rewriting with Url Rewriter and It is working fine, as per following article. http://dotnetguts.blogspot.com/2008/07/url-rewriting-with-urlrewriternet.html But I have notice that even though Url Rewriter redirect the page to Dynamic Page and everything works fine, it also executes error hand...

squid url_rewrite with cookie

I have a squid 3.0 deployed which has a url_rewriter program which rewrites certain HTTP requests. I now need to modify this prpogram to rewrite along with the cookie setting code. As much as I have seen the url_rewrite_program documentation, it appears that I may not be able to set a cookie along with the 302 response. Is this correct...

Need help with this Regex + UrlRewriter.NET please :)

Previously, on StackOverflow ... (Summarized) I need to capture all requests, for a particluar subdomain .. and rewrite their destination. Now, the trick to determining the host via regex was solved. Now, i need to make sure all requests to the root index page is rewritten, but i can't figure out the correct regex to find...

Using IIS URL Rewrite, how to rewrite foo.bar.com -> bar.com/myapp

Our web app lies at bar.com/myapp We'll use the HTTP Host Header to work out the username So need to transparently rewrite http://foo.bar.com to http://bar.com/myapp using the URL Rewrite module in IIS But still need to be able to go to www.bar.com and see the company website and webmail.bar.com, etc. ...

Remove HTTP headers inserted by Managed Fusion URL Rewriter

I'm toying with Managed Fusion's URL Rewriter and noticed that it adds a couple HTTP headers to IIS response: X-Rewritten-By: ManagedFusion (rewriter; reverse-proxy; +http://managedfusion.com/) X-ManagedFusion-Rewriter-Version: 3.5 How can I remove these headers? (I'd like to keep things small for performance reasons.) Unfortunately...

ASP.NET UrlRewriter - How to Write RegEx for Root?

Hi All, I have been trying to use UrlRewriter (Intelligencia.UrlRewriter.dll) in a test project. My rewrite statement is as in the following: <rewrite url="~/Sample/(.+)" to="~/Sample.aspx?Test=$1"/> This statement works great for a URL like: http://localhost:4188/RewriteTest/Sample/12345 or, let's say: http://RewriteTest.com/Sa...