Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to over-ride default behavior in my CMS, but without hacking the core or doing anything outright barbarous. As a result I'm trying to rewrite all requests to

/umbraco/dialogs/preview.aspx?whatever

so they'll end up at

/IveySuperPreview/IveySuperPreview.aspx?whatever

It seems that UrlRewritingNet only grabs on to URL's that don't exist as real pages, though. I can rewrite, for example, /umbraco/dialogs/preview_test.aspx – but if I try it on the actual preview.aspx, nothing happens.

Am I correct that this is what's going on? Is there a workaround?

share|improve this question
1  
Try URL Rewrite module (IIS 7.0+)-- should rewrite any url. –  LazyOne Apr 12 '12 at 21:27
add comment

1 Answer

up vote 0 down vote accepted

I should have (more thoroughly) RTFM'd:

Attributes for <urlrewritingnet />

rewriteOnlyVirtualUrls

     true, false (Standard: true)

     Prevents rewriting for real existing files on the server if true.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.