This is a discussion on Re: IIS -> Apache2 within the Windows Web Servers forums, part of the Web Server and Related Forums category; Peter Bata wrote: > Basically the content for the block was being fetched from a remote URL > eg. > ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Peter Bata wrote: > Basically the content for the block was being fetched from a remote URL > eg. > http://www.theweathernetwork.com/int...es/can/YUL.gif > > The local image was located at /wwwroot/cache > > Content for the directory "cache" was being fed from a Redirection to a URL > How do I achieve this with Apache. RewriteEngine on RewriteRule ^image\.gif$ http://www.theweathernetwork.com/int...es/can/YUL.gif [L,R] or RedirectMatch ^/image.gif$ http://www.theweathernetwork.com/int...es/can/YUL.gif > /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAUDBAQEAwUEBAQFBQUGBwwIBwcHBw8LCwkMEQ8S > EhEPERETFhwXExQaFRERGCEYGh0dHx8fExciJCIeJBweHx7/2wBDAQUFBQcGBw4ICA4eFBEU > Hh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh 4eHh4eHh4eHh4eHh7/wAAR > CAHCAc8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAA > AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBka EII0KxwRVS0fAkM2JyggkK > FhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZW ZnaGlqc3R1dnd4eXqDhIWG (snipped 700 lines of garbage) Please don't post binary files to discussion groups. Thor -- http://thorweb.anta.net/ |