On Wed, Jul 21, 2010 at 04:00:11PM -0700, Hassan Schroeder wrote:
> On Wed, Jul 21, 2010 at 3:40 PM, Tom Trebisky <[email protected]> wrote:
> 
> > If I go directly to the mongrel server via http://localhost:8001
> > everything is fine. ?It is when I go to the apache "public" URL
> > that my pages do not render. ?Apparently apache is setting the
> > Content-Type to text/plain and this instructs the browser to not
> > render the html. ?It turns out that rails does not set the Content-Type
> > header at all ...
> 
> How are you determining that? I can see (using Firebug) a content-type
> header on any response from a standard mongrel-based app here, e.g.
> 
> Content-Type  text/html; charset=utf-8

I use "telnet localhost 8001" then type "GET / HTTP/1.1" followed
by two returns and then I get the server response.

-- 
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