On 10/20/06, brian.estlin
<brian.estlin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
> hi all,
>
> two questions:
>
> (1) is there any way to map one URL to another when neither of them is
> a controller/action?
>
> i.e., the user enters http://foo.com/bar/baz, and the static resource
> living at public/zoom/pop.mp3 gets served?
Don''t know, sorry. Seems like it would be useful to have a generic way
to specify a base uri in rails so that for example a site could be
served from behind a proxy with a different url relative to /
> (2) is there any way to see the *actual* response headers that are
> *actually* returned by the server? I know I can telnet to the port and
> type in a request, but I want to see what happens when a Flash movie
> internally makes a request. It seems to work if I make the request
> myself through the browser or through manual (telnet) http, but
it''s
> not working when the Flash movie makes it so I want to see the raw http
> that the server is serving up. Suggestions?
I suggest you investigate these:
http://livehttpheaders.mozdev.org/
http://www.wireshark.org/
http://www.circlemud.org/~jelson/software/tcpflow/
http://netcat.sourceforge.net/
--
noodl
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---