View Single Post
Old 2009-03-10, 11:00 PM   #3
A.J. Angel
And Lord, we are especially thankful for nuclear power, the cleanest, safest
energy source there is. Except for solar, which is just a pipe dream
 
Join Date: Sep 2008
Posts: 229
Quote:
Originally Posted by cd34 View Post
To prevent loops, you want to name the recip to something different than exquisiteangelz.gif and use something like:

Code:
RewriteEngine on
RewriteRule .*exquisiteangelz.gif$ /images/recips/exquisiteangelzrecip.gif [L]
you don't want to name it newexquisiteangelz.gif because that would match the regexp and cause a redirect loop.

Keep in mind, anywhere else on your site that you use RewriteEngine on, you will need to use RewriteOptions inherit or add the rule to that .htaccess as well.
I'm sorry but I'm not sure to understand you. What would be matching the RegEx to cause a redirect loop?

This is actually not for my site but for submitters to link back to my site with the appropriate reciprocal link. |confused|
A.J. Angel is offline   Reply With Quote