How to exclude images of same name of redirect?

Topics: Developer Forum
Sep 13, 2010 at 1:41 PM

I am trying to use a redirect rule of : RedirectRule /shorturl http://~mywebsite~/page.php?facid=204

This works like it should except not images that have the name citadel in them are not loaded. Can someone tell me what I  am missing in setting up this rule?

Sep 19, 2010 at 3:25 PM
If you are using a redirectrule as you've shown, then the long URL will appear in the browser address bar, and the browser will submit an entirely new URL request. It seems that you are telling me that the images that appear in the resulting html page are not displayed correctly. This result is completely independent of the original URL request, which got the 301/302 response. If what you are saying is accurate, then submitting the long-form URL request should result in the same behavior (broken images). If that's the case, then you need to fix the page. The problem isn't in iirf. It could be that I am misunderstanding the situation. If so, please clarify.