[Israel.pm] Mason: Trying to open a directory?
yuval at windax.com
Sun Jan 25 00:17:38 PST 2004
PerlSetVar MasonCompRoot /www/htdocs
PerlSetVar MasonDataDir /www/mason
Please do yourself a favor and RTFM, it's the first thing they explain
and you'll learn a lot more about Mason (at least I did).
Not patronizing, just pointing out the best way to learn.
>And how do I move it to /www/mason?
>I didn't set it to the /usr/local/apache directoy.
>It's something that Mason invented itself.
>From: Yuval Kogman [mailto:lists at woobling.org]
>Sent: Sunday, January 25, 2004 12:34 AM
>To: semuel at semuel.co.il; Perl in Israel
>Subject: Re: [Israel.pm] Mason: Trying to open a directory?
>On Sun, Jan 25, 2004 at 12:16:36AM +0200, semuel wrote:
>>[Sat Jan 24 23:57:40 2004] [error] mkdir /usr/local/apache/mason:
>>Permission denied at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm
>the user apache is running as does not have write priviliges to
>/usr/loca/apache, so it can't make the change.
>I think you shouldn't give it write access, though. Try moving the dir
>to somewhere like /www/mason, where if something breaks, it still
>doesn't harm your installation.
>In your apache conf, search for the effective UID and GID, and use a
>directory for which either the UID, the group, or both have write
More information about the Perl