Solved

How do I exclude a directory from a url rewrite rule?

Posted on 2012-04-13
4
724 Views
Last Modified: 2012-10-29
Hi,

I am using Url rewriting on my coldfusion application using the attached web.config file and it all works great but I now need to exclude a directory of /backoffice and all sub directories so when I navigate to this part of the site the url rewrite just ignores it and it works as normal.

I have researched on Google but am completetly stumped!!

url to ignore would be http://mydomain/backoffice anything other would redirect to index.cfm as per the rules.
web.config
0
Comment
Question by:Lmillard
  • 2
  • 2
4 Comments
 
LVL 78

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 37844818
Try thisweb.config.txt
0
 

Author Comment

by:Lmillard
ID: 37850175
Sorry for the delay in response, I have amended the file but this still redirects to index.cfm when I go to /backoffice.

Do I need to restart IIS everytime I make and amendment to the .config file?
0
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 37851719
maybe not iis in full but that particular site yes.
0
 

Author Comment

by:Lmillard
ID: 37855396
Hi,

Tried this and it still catches it and redirects to index.cfm

Cheers
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now