On Wed, Aug 26, 2009 at 8:37 AM, Greg Donald<[email protected]> wrote:

>> And no, it's not possible to "redirect" and have the url in the address
>> bar remain the same.
>
> This is exactly what Apache's mod_rewrite does.  You send it a url and
> it rewrites the request to the actual resource.

If a server sends a 30x redirect response to a client, it instructs that
client to send a new request to the provided URL, which will then be
visible in the client's address bar (if it has one).

Forwarding "under the covers" is a different beast.

-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to