Redirect without refetching URL
am 18.04.2008 18:13:28 von jfleblond
Is it possible to redirect a URL to an external site without
refetching the url on the client.
ie:
redirect http://www.my_webserver.com/site to http://www.othersite.com/other
On the browser it should still have http://www.my_webserver.com/site
after the redirection
Is it possible to do this without a proxypass because I want to avoid
having the traffic through my webserver.
Thanks
JF Leblond
Re: Redirect without refetching URL
am 19.04.2008 21:29:03 von HansH
"Jim Hayter" schreef in bericht
news:66tf7jF2ldltmU1@mid.individual.net...
> On Fri, 18 Apr 2008 09:13:28 -0700 (PDT), in alt.apache.configuration,
> jfleblond wrote:
>
>>Is it possible to redirect a URL to an external site without
>>refetching the url on the client.
>>ie:
>>redirect http://www.my_webserver.com/site to
>>http://www.othersite.com/other
>>On the browser it should still have http://www.my_webserver.com/site
>>after the redirection
>>
>>Is it possible to do this without a proxypass because I want to avoid
>>having the traffic through my webserver.
>
> Think about what you are asking. You want a request for URL A to fetch
> the content of URL B without either the client browser requesting B or
> the web server which serves A fetching B. How do you expect the content
> of URL B to be obtained?
>
Indeed, one won't get, what's not been asked for ...
.... however, there is a way to hide the question:
just frame the rabbit
http://www.w3.org/TR/html4/present/frames.html
or make it an object
http://www.w3.org/TR/html4/struct/objects.html
HansH