M
Marty Fremen
I want to relocate images to another server to save bandwidth on our main
domain hosting. Rather than altering the html files, I was thinking of just
putting a .htaccess in our /images/ directory:
RewriteEngine on
RewriteRule ^(.+) http://www.example.com/images/$1
I'm assuming this will cause files that would originally have been got from
the images directory to instead be fetched from the external site, but am
wondering if the redirect will itself consume bandwidth. I've not done
htaccess type stuff before, am I right in assuming the amended url goes
back to the browser which then fetches it for itself, and that apache
doesn't actively proxy the requested file?
domain hosting. Rather than altering the html files, I was thinking of just
putting a .htaccess in our /images/ directory:
RewriteEngine on
RewriteRule ^(.+) http://www.example.com/images/$1
I'm assuming this will cause files that would originally have been got from
the images directory to instead be fetched from the external site, but am
wondering if the redirect will itself consume bandwidth. I've not done
htaccess type stuff before, am I right in assuming the amended url goes
back to the browser which then fetches it for itself, and that apache
doesn't actively proxy the requested file?