Hi all,

I have installed Mason on my Mac (OS X 10.5.6, Apache 2.2.9, mod_perl 2.0.2,
Perl 5.8.8) and everything seems OK except for one problem: Apache no longer
shows the contents of the directory I designated for Mason files.

When I point my browser at http://localhost/~mrb/ I see the contents of my
'Sites' directory. When I click the links for directories below that, I also
see the contents--except for the 'mason' directory, where I get a 404 Not
Found error instead.

What have I done wrong?

Here's the relevant portion of my /etc/apache2/httpd.conf:

######################################
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>
  SetHandler  perl-script
  PerlHandler HTML::Mason::ApacheHandler
</Directory>

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

This file in turn 'includes' /etc/apache2/users/mrb.conf:

######################################
<Directory "/Users/mrb/Sites">

Options Indexes FollowSymLinks
IndexOptions FancyIndexing

Order Deny,allow
Deny from all
Allow from localhost
</Directory>
######################################

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



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to