On Tue, Oct 27, 2009 at 10:55 PM, Marcos Mendez <marcosrmen...@gmail.com> wrote:
> I'm using mod_proxy/mod_rewrite to redirect requests to a specific
> script which handles them. For example:
>
> <Proxy *>
> RewriteEngine on
> RewriteCond %{HTTP_HOST} !^123.123.123.123 [NC]
> RewriteRule $(.+) http://123.123.123.123/myscript?url=%{REQUEST_URI}
> </Proxy>
>
> This is working great. The question is, can I hide that redirection
> (http://123.123.123.123/myscript?url=thewebsite.com) and keep the
> requested url in the address bar somehow?

Just add the [P] flag to your RewriteRule (and only the P flag...)

Krist




-- 
krist.vanbes...@gmail.com
kr...@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to