Re: [Mason] Mason2 Help

2011-09-14 Thread Joseph Shin
> 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: > > Hey Jon, > > I was able to resolve the issue by comme

Re: [Mason] Mason2 Help

2011-09-14 Thread Joseph Shin
time is Wed Sep 14 11:10:51 2011. > > The "DefaultType" doesn't help in this case because the content type has > already been set by mod_dir. > > So what's the right way to handle this? Something inside the PSGI handler > that sets the content type to text/html if i

[Mason] Mason2 Help

2011-09-13 Thread Joseph Shin
Hi All, I was messing around with Mason2 and ran into this issue when using Plack::Handler::Apache2 with Mason. When i go to: http://www.p5k.com I get: you have chosen to open.. which is a: httpd/unix-directory When I go to: http://www.p5k.com/index All is well. http://old.nabble.com/Conte