Prevent Propagation

I have the following in a .htaccess file:

RedirectTemp / http://www.custompopups.com

It works well; however, I need to prevent the redirect from happening in subdirectories. How can I do this?

Thanks,
Shane.

Shane,

mod_alias is very powerful but dumb, i.e., you can’t exclude things like subdirectories. Therefore, you’ll need the power that regex gives you with mod_rewrite.

Regards,

DK