Questions tagged [urlrewriter.net]

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

67 questions
1
vote
1 answer

Check if first segment of URL is not file or directory

I have a rewrite rule in my web.config file like this:
jekcom
  • 2,065
  • 2
  • 24
  • 34
1
vote
1 answer

Using Intelligencia UrlRewriter regex for rewriting URLs

I'm trying to use regex expressions to catch some incoming urls, but I'm having trouble putting the right expression together. Basically I'm trying to rewrite mydomain.com/abc12 into mydomain.com/default.aspx?referrer=abc12 The extension will…
Matthew Rigbye
  • 35
  • 1
  • 1
  • 5
1
vote
2 answers

An elegant way of showing URL on page

Is there an elegant way of showing URL on page using ASP.NET MVC3 .The method I'm looking for should accept contollerName,actionName and routeValue(similiar to @Html.ActionLink() by arguments) e.g.Code: Here's the link: @thatMethod("Show", "Post",…
Miro
  • 1,778
  • 6
  • 24
  • 42
1
vote
1 answer

system.webServer/rewrite -> UrlRewriting

I have a php project with this Web.config:
Igor Golodnitsky
  • 4,456
  • 7
  • 44
  • 67
1
vote
1 answer

urlrewriter.net The element 'rewrtie' is not allowed

i am trying to use urlrewriter.net and i followed instructions here but when i run it i get this error: The element 'rewrtie' is not allowed. here is what i added in my web.config file:
Wahtever
  • 3,597
  • 10
  • 44
  • 79
1
vote
2 answers

IIS7 Rewrite Module - Redirct from root to default.aspx

I have a situation where I need to rewrite from the root to default.aspx. So if someone hits www.domain.com or www.domain.com/ I need to redirect to www.domain.com/default.aspx - any idea what the regex for this looks like and which server variable…
Payson Welch
  • 1,388
  • 2
  • 17
  • 29
1
vote
2 answers

Can Intelligencia UrlRewriter.NET handle unicode in querystring?

I have been using UrlRewriter.NET to perform some rewrites. Which was working OK for english texts, but for Unicode data it shows "???????" So, is there any way I can make it work with unicode, too?
anjan
  • 3,147
  • 6
  • 26
  • 31
1
vote
3 answers

Intelligencia URL Rewrite Problem

I have created 2 url rewrite rules in my web.config that look like the following: rewrite url="~/Products/(.+).aspx" to="~/Products.aspx?Cat=$1" rewrite url="~/Products/(.+)/(.+).aspx" to="~/Products.aspx?Cat=$1&SubCat=$2" If i type in…
Grant
  • 31
  • 2
  • 6
1
vote
0 answers

Rewrite URL Issue for the css links on Master page and Simple aspx page

i am using following rewrite url rule.
Liquid
  • 648
  • 1
  • 7
  • 20
1
vote
1 answer

URLRewriter.net with multiple querystring separated by /

I have been looking around the site a bit, but I didn't find any replies on how to do it the way I want. What I want is an URL like this: www.example.com/Projects/"querystring1 - text only"/"querystring2 - 4 digits only"/ to show the page with this…
1
vote
1 answer

Publish umbraco site on IIS

i'm stuck. I upload my umbraco 7.1 site which i develop on visual studio 2012 thorough FTP to my server. I created an Application Pool which work with .net framework 4.0.30319. I start the site in the IIS and try to check it in the browser and i got…
Idoshin
  • 363
  • 2
  • 17
1
vote
0 answers

How to redirect (307 Temporary Redirect) with UrlRewriter?

i've created a rule using UrlRewriter to perform a redirect: The problem is that it is issuing a 301 Moved Permanantly redirect: POST /ResetClock.asp…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
1
vote
2 answers

Url Rewriter works on localhost but not on production server

I've gotten URLRewriter to work on my localhot perfectly, but on production I get 404 errors. I'm using IIS 6, and from what I read this should just work. Here is what i have in my web.config:
Jack Marchetti
  • 15,536
  • 14
  • 81
  • 117
1
vote
2 answers

urlrewritingnet - rewrite URL with subdomain

I have umbraco website setting on an IIS 7 server: WWW.SITE.COM I would like rewrite the URL WWW.SITE.COM/SIGUNP to WWW.SIGNUP.SITE.COM is it possible by using urlrewritingnet or should I configure this by using DNS Host?
vantian
  • 848
  • 3
  • 10
  • 25
1
vote
0 answers

Rewriting all request to go to the homepage using Urlrewrite in web.config

I'm trying the following line in my web.config to rewrite all requests that come to my website to go to the home page while converting the the virtual paths to query strings
Maya
  • 1,414
  • 5
  • 22
  • 43