Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a folder on our website that's full of garbage data that external sites and half of the company uses as a dump directory. I'm planning on ultimately nuking it completely but in the meantime I'd like to move it to The problem I'm having is that many of the users will still have a link similar to

I'm looking for both an Apache and IIS7 solution.

share|improve this question
up vote 1 down vote accepted

In .htaccess or your apache virtual host:

RewriteEngine on
RedirectRule ^imagesa/(.*)$1 [R]
share|improve this answer
Excellent, thanks a ton. If I were running IIS7 how would this be accomplished? (we have two sites one running IIS and the other Apache) – Zach Shallbetter Apr 15 '11 at 15:57
You'll have to get an IIS guy to pitch in for that one. Perhaps edit yoru question with a note at the end saying you are looking for both IIS and Apache solutions. – Caleb Apr 15 '11 at 16:01

Your Answer


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.