Re: serve local file but remote url
| From: | Ignacio Vazquez-Abrams | Date: | Mon, 22 Jan 2001 16:57:25 +0000 |
| Subject: | Re: serve local file but remote url | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36023@lists.php.net to get a copy of this message | ||
On Mon, 22 Jan 2001, Eric Dahnke wrote:
> hi,
>
> this is off toopic, but don't know where to turn. would appreciate some
> help.
>
> during an http request, is it possible serve a local html file yet
> return to the browser a different remote url (say yahoo.com for example)?
>
> i'm looking at mod_rewrite, but it what i describe above doesn't seem
> possible. is it?
>
> thx - eric
>
Have you looked at the [P] flag? It allows Apache to act as a proxy for
external pages.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>