Re: [Mason] Mason2 Help

2011-09-14 Thread Joseph Shin
Very odd. I like your solution tho, I shall use it. Thanks for the help. Joe On Wed, Sep 14, 2011 at 2:49 PM, Jonathan Swartz wrote: > Weird - I don't have a DocumentRoot anywhere in my httpd.conf, but I'm > still getting the problem. fwiw, I was able to solve it by creating a > comps/Base.mp

Re: [Mason] Mason2 Help

2011-09-14 Thread Jonathan Swartz
Weird - I don't have a DocumentRoot anywhere in my httpd.conf, but I'm still getting the problem. fwiw, I was able to solve it by creating a comps/Base.mp with this: before 'render' => sub { $m->res->content_type('text/html'); }; Jon On Sep 14, 2011, at 11:46 AM, Joseph Shin wrote

Re: [Mason] Mason2 Help

2011-09-14 Thread Joseph Shin
Hey Jon, I was able to resolve the issue by commenting DocumentRoot in the httpd.conf and not just the VirtualHost section :) I'm not sure if that's the proper solution, but I'm satisfied for now. Thanks for looking into it Jon. Joe On Wed, Sep 14, 2011 at 2:26 PM, Jonathan Swartz wrote: > I'

Re: [Mason] Mason2 Help

2011-09-14 Thread Jonathan Swartz
I've reproduced this on my server. The right content is being returned, but with a "httpd/unix-directory" content type. swartz> GET -eSs http://localhost:2400 GET http://localhost:2400 --> 200 OK Connection: close Date: Wed, 14 Sep 2011 18:10:50 GMT Server: Apache/2.2.3 (Unix) C