Hi John,

As no one has replied yet, I'll give you my guesses...  It has been a 
while since I did this configuration, but I think you need the dir.load 
module installed in order to list directories.  Maybe it is another 
module or maybe I am wrong...

Under Debian, I have a symlink from /etc/apache2/mods-enabled/dir.load 
to /etc/apache2/mods-available/dir.load (assuming dir.load is installed, 
of course).  If, say, Apache2 does not allow access to a directory 
(i.e., via modules or httpd.conf), then this is unrelated to Mason (I 
forgot what the default values are).  The httpd.conf that you have 
(below) says that files that end in .html are processed by Mason.  It 
doesn't say what should be done with directories.  Before Mason, the web 
server's configuration says what is allowed or not.

Likewise, if you want to know what is the difference between Location 
and Directory, then the Apache2 documentation is where you would start.  
(Say:

http://httpd.apache.org/docs/2.0/mod/core.html#location

).  Hope this helps a bit...

Ray



John M. Dlugosz wrote:
>         # site-wide setting
>       <LocationMatch "(\.html|\.txt)$">
>           SetHandler perl-script
>           PerlHandler HTML::Mason::ApacheHandler
>       </LocationMatch>
>
>         # all URI's here, will include names for graphics files + query args.
>       <Location /gallery/images>
>           SetHandler perl-script
>           PerlHandler HTML::Mason::ApacheHandler
>       </Location>
>
>         # keep private stuff from being explicitly fetched
>       <LocationMatch "(\.mason|dhandler|autohandler)$">
>           SetHandler perl-script
>           PerlInitHandler Apache::Constants::NOT_FOUND
>       </LocationMatch>
>   


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to