Hi,
Air Kang wrote: > http://localhost/mason/handshake.html > > error messages: > error: Couldn't create object file /etc/apache2/mason/obj/ >> 904777862/mason/handshake.html.obj: Permission denied >> That directory is the data directory, which has to be writeable for mason. It is a directory that is used by mason to cache objects, etc. and generally you won't need to go into it other than maybe delete everything to "start from scratch". However, you might only do that when you are new and playing around with Mason. I suppose /etc/apache2 might be the default (I am not sure) and it isn't able to write it there. The data directory is described here: http://www.masonhq.com/docs/manual/Admin.html#data_directory . You can change it according to this: http://www.masonbook.com/book/chapter-8.mhtml#TOC-ANCHOR-4 [the "MasonDataDir" line] . Alternatively, I have a handler which has the following lines: my $ah = HTML::Mason::ApacheHandler -> new ( comp_root => '...', data_dir => '...', args_method => 'mod_perl' ); I am not sure which method is better. The former requires you to have write permission to /etc/apache2/httpd.conf; the latter requires you have write permission to the handler -- sysadmins are usually more comfortable with the second choice... Hope this helps... Ray ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Mason-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mason-users

