Web.config dynamic redirect
Hi all, i would like my web.config works like this: www.mydomain.com/sub1 redirect to www.mydomain.com/index.asp?id=sub1 so for sub2 sub 3 and so on... Anyone can help me?
View ArticleOutbound rule for Google Analytics causes 500.52 error on ColdFusion pages
Using the information here about inserting code via an outbound rule, and also encoding the Google Analytics javascript (because of the "{" character in the GA javascript), the outbound rule will...
View ArticleURL Rewrite via function to parse out information from original URL
Hello, I seem to be getting close, but haven't yet seen an example of what I'm trying to do. I've got a URL that looks something like this: http://mysite.com/Info.aspx?InfoID=4The rewritten page...
View ArticleWhen accessing Sharepoint site folders, IIS/RP doesn't work.
I use IIS 7 as Reverse Proxy server. Backend is MS Sharepoint Server.I use Inbound/Outbound Reverse Proxy Rule Template and I can browse http://localhost to rewrite to backend Sharepoint server without...
View ArticleProxy to OWA and RDweb
Hi All,I am trying to put a setup in place that will do the following:I have an externally accessiable server and the the domains (mail.domain.com.au and remote.domain.com.au) both point to this...
View ArticleHow to use rewrite rule to append query param and value?
I'd like to create a rewrite rule to match the URL: http://localhost/en-us/test.aspx?q=keywordand after rewrited the expected result should be:...
View Articleinbound/outbound pattern
Hi, I am looking for a scalable solution to replace all the underscores with hyphens. Is it possible to rewrite the expressions below into one single in/out rule?<rewrite><rules><rule...
View ArticleHelp with redirect syntax using %20
I'm trying to use URL rewrite to create a redirect from http://servername/my%20site/my%20doc.aspx to https://newservername/nnn/start.aspx#The only way I can seem to get it to redirect by entering ^(my...
View ArticleURL rewrite - Facebook appends querystring to my friendly url's which break it.
Hi I have created a set of rules to make my site URKL friendly. I use rewrite maps like this:<rewriteMap name="Hotels"><add key="/the-name-of-the-hotel" value="/hotel-detail.asp?hotelid=1"...
View Articlehow to exclude
HiMy outbound is changing the underscores to dashes and thats fine until i discovered that it breaks the js calling function. how can i modify the outboud rule so it does not apply to the...
View Articleoutbound rule to replace value of xml element
i am unable to figure out this. my {RESPONSE_CONTENT_TYPE} is "^text/xml".i have an xml element <cardnumber>1111-1111-1111-1111</cardnumber>. i need to find "cardnumber" and replace the...
View ArticleHelp with simple url rewriting
Hello everyone,I have been trying to rewrite the url from http://servername/app tohttp://app . and as such hide the web server name from the url that users see. So far I have done a 301 redirect when...
View Articlechecking Empty User agent header
Hi,i have one IOS application that loads a sharepoint site.i have applied one restriction by creating a rule in IIS. That restriction basically Checks existence of a string (which i am embedding in IOS...
View ArticleURL Rewrite IIS 8 not firing and not showing in Trace
Hi All,I must be missing something simple. I have a straight forward rule which I want to implement.Old site refereneced a application directory http://mysite.com/AppDirectory/........new site is just...
View ArticleIs URL Rewrite correct for what I want to do?
Hope I am in the correct place. Here is what I am trying to do. Two different servers host a web site on intranet. I wanted to create a downtime page message on a third web server unrelated to the two...
View ArticleHelp required to remove folder name from url.
<div class="post-text" itemprop="description">Hi I have just shifted my website to new hosting parter with multiple website hosting plan. Every things are working fine except one issue with url....
View ArticleURL Rewrite to hide subfolders and parameters
Hi,I need help on writing a rule to hide the url subfolders and parameters to all the site.Example:change:www.domain.com/something/system.asp?blatowww.domain.comI cant find any topic that could help me...
View ArticleCreate subdomain daynamic using php code
Hi,I am a PHP Developer new to IIS.currently working on a e-commerce site which is build in php and hosted on IIS.i want to create subdomain for each vendorLike, vendor1.domain.com...
View Article301 redirect anypage.aspx
Hello, migrating from .net, I want ot redirect all www.domain.com/...anypage.aspx to the main page www.domain.comThanks for any sugestion in using IIS 7.5 URL Rewrite...
View ArticleURL Rewriting (HTTPS)
Hi guys I have a simple question, I have an internal server, currently we can all login using https://intserver1.domain.com/login.aspx Created a server farm - pointing to intserver1.domain.com Then...
View Article