Questions tagged [urlrewriter.net]

The open source URL rewriter for ASP.NET from urlrewriter.net

67 questions
7
votes
1 answer

Disable web.config rewrite rules for local requests

I have a page scraper being used to grabbing content from a subdirectory of the site and my rewrite rules are interfering with the content grabbing. For example, the scraper is grabbing the content of the old version of the…
hereswhatidid
  • 738
  • 9
  • 21
4
votes
3 answers

How to debug UrlRewriter.NET?

I have looked at their help page it seems like I can register a debug logger that outputs information to the 'standard ASP.NET debug window'. My problem is I don't know what that means, if it means the debug output window in Visual Studio (where…
vfilby
  • 9,938
  • 9
  • 49
  • 62
4
votes
4 answers

Which one is better ? URLReWriter.net or URLReWriting.NET

I don't know whether you've been come across urlrewriter.net because as I've seen so far urlrewriting.net is kinda more popular. Could someone please tell me which one is actually easier to implement and more powerful? Thanks...
Tarik
  • 79,711
  • 83
  • 236
  • 349
4
votes
1 answer

URL Rewriting in .NET behaves badly with cookieless sessions

I'm currently using Intelligencia's URL Rewriter .NET HTTPModule to rewrite URLs. I am using its Custom Transform feature, which allows me to supply an assembly containing a method that performs the actual URL transform. I have cookieless…
user44701
  • 85
  • 1
  • 10
3
votes
3 answers

Rewriting a Url which can contain 1 or 2 querystrings with URLRewriter.NET?

In my project, my /PropertDetail.aspx can get 2 querystrings. 1st one for the PropertyId /PropertDetail.aspx?PropertyId=5 2nd one for the Language /PropertDetail.aspx?PropertyId=5&Language=2 EDIT: and this page can get one of them or can get both…
Barbaros Alp
  • 6,405
  • 8
  • 47
  • 61
2
votes
1 answer

Request.IsAuthenticated is still true after calling FormsAuthentication.SignOut() and redirecting back to page

I am getting the error "The page isn't redirecting properly" when my action signs the user out and redirects back to itself. After the redirect is returned, the action is called again, but the Request.IsAuthenticated is still true instead of…
Leslie Hanks
  • 2,347
  • 3
  • 31
  • 42
2
votes
2 answers

Urlrewrite in asp.net

i am currently using IIS7's Url Re-write module, but the main loophole of using the IIS7's url re-write module, is that i have to write rule for all the page,which i want to use on the website, i want to use a comman rule and redirect it to…
Abbas
  • 4,948
  • 31
  • 95
  • 161
2
votes
4 answers

UrlRewriter.net redirect non-www to www

How do I create an UrlRewriter.net redirect rule to redirect non-www pages to www? I have found htaccess and ISAPI examples, but cannot find the proper regex rule for UrlRewriter. For example, this doesn't work:
2
votes
2 answers

URL rewrite rule conflits in IIS?

I am getting problem in URL rewrite rules. I am used UrlRewritingNet.UrlRewriter Dll for Url rewriting in asp.net website. I used rules name as "Advanced" & Other rule name as DefaultRule that is used for any user profile page(ie. any user's…
Abhishek B.
  • 5,112
  • 14
  • 51
  • 90
2
votes
1 answer

UrlRewriter.Net - Prevent Rules for Subdirectories

I'm using UrlRewriter.net, mentioned on ScottGu's Blog. I've built a site around this and now I'm having problems with subdirectories. The problem is, I want to exclude a directory and all subdirectories/files within it from rewriting. The rules I…
Echilon
  • 10,064
  • 33
  • 131
  • 217
2
votes
2 answers

RegularExpression for URL Rewriting

I am using urlrewriter.net and I am trying to make a redirection. So here is the condition, If the requested url doesn't end with a / (slash) and then add / at the end of the url and redirect to added url. So if the url is…
Tarik
  • 79,711
  • 83
  • 236
  • 349
2
votes
0 answers

IIS Rewrite 2.0 CustomTags with namespaced attribute

I'm hosting a private NuGet server which is behind a load balancer. The load balancer accepts ssl traffic (442) and forwards to port 80 on the web server. NuGet looks to be detecting the requesting protocol and returns a base href with http vs.…
2
votes
1 answer

UrlRewriter.NET - simple rewrite rule, but how?

I have just installed the sample from Urlrewriter.net, but I can't seem to figure out the rule for accomplishing my problem. Very simple: If the user is navigated to this page: http://localhost/UrlRewriteTest/Default.aspx?PageID=33 The Url should…
micknt
  • 297
  • 1
  • 8
  • 23
2
votes
1 answer

Using external config file for UrlRewriter.NET

I'm using the UrlRewriter.NET library to implement url rewriting for my asp.net website. The rewriting rules are currently being read from the web.config file like this
Quannt
  • 2,035
  • 2
  • 21
  • 29
2
votes
0 answers

Intelligencia UrlRewriter Error "Item has already been added"

I am getting error " Item has already been added. Key in dictionary: 'RewritingXtoY' Key being added: 'RewritingXtoY' ". Here is a stack trace : at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at …
Jignesh
  • 165
  • 2
  • 5
  • 13
1
2 3 4 5