Hi all,

Is anyone else having a problem getting Snow Leopard to process Mason pages?

I'm setting up a new iMac with OS X 10.6.1, Apache 2.2.11, Perl 5.10.0, 
mod_perl 2.0.4.

I have just installed Mason 1.42 via cpan, which didn't report any fatal 
errors. A simple one-liner 'perl -e "use HTML::Mason"' doesn't return any error 
message either.

I have added the following to my Apache httpd.conf:

LoadModule perl_module    libexec/apache2/mod_perl.so

[snip]

PerlModule HTML::Mason::ApacheHandler
PerlSetVar MasonDataDir /usr/local/mason
PerlAddVar MasonCompRoot "main => /Library/WebServer/Documents"
PerlAddVar MasonCompRoot "mrb  => /Users/mrb/Sites"

<Directory /Users/mrb/Sites/mason/sfmail_new>
   SetHandler perl-script
   PerlHandler HTML::Mason::ApacheHandler
</Directory>

AddType text/html .mhtml
<LocationMatch "\.mhtml$">
   SetHandler perl-script
   PerlHandler HTML::Mason::ApacheHandler
</LocationMatch>

I created the directory /usr/local/mason and its subdirectories cache and obj.

I stopped and started Apache to read the modified http.conf.

All this duplicates the setup on my previous Mac, which is running Mason and 
serving pages correctly.

However, when I point my browser at pages with Mason code, it's not being 
processed--just displayed in the browser.

Is there something obvious I've forgotten?


Michael Boudreau
Senior Publishing Technology Analyst
The University of Chicago Press
1427 E. 60th Street
Chicago, IL 60637
(773) 753-3298    fax: (773) 753-3383



------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to