adam beecher wrote:
>>Rewrite Engine on
>>RewriteCond %{REQUEST_URI} ^/images
>>RewriteRule ^/images/(.*)$ http://images.guest.cx/images/$1 [R=301]
>>>>>>>Should do Ken. Strictly speaking, you shouldn't even need the RewriteCond,
>they're really only needed to prevent rule conflicts.
>>Odd.
I've tried testing this:
telnet 127.0.0.1 80
GET /images/family.png HTTP/1.1
Host: test.guest.cx
and don't get redirected (which I though the R=301 took care of, to
explicitly tell the browser that the
images have been pernamently moved).
k.
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!