doolbman
03-07-2008, 01:19 PM
I need to redirect any incoming request for any images to my image server
I know this will redirect any images to a single page on my server
RewriteEngine on
RewriteRule ^([a-z0-9]+).(jpe?g|gif|bmp|png)$ /testpicpage.php?uid=$1 [R]
and this will redirect to a single page to another page on a different server
Redirect Permanent /old-filename.php http://www.domain.com/new-filename.php
how do I put these together so that any images on my server gets redirect to http://www.myotherserver.com/imagecatch.php for example???
I know this will redirect any images to a single page on my server
RewriteEngine on
RewriteRule ^([a-z0-9]+).(jpe?g|gif|bmp|png)$ /testpicpage.php?uid=$1 [R]
and this will redirect to a single page to another page on a different server
Redirect Permanent /old-filename.php http://www.domain.com/new-filename.php
how do I put these together so that any images on my server gets redirect to http://www.myotherserver.com/imagecatch.php for example???