Loading...

mason-users@lists.sourceforge.net

[Prev] Thread [Next]  |  [Prev] Date [Next]

[Mason] problem with mason configuration Gregory Skelton Tue May 10 12:00:25 2011

Hi All,

I've run into a problem with my a web server configuration. What I'm
really after is preventing mason to do its magic on a directory and
everything underneath it. I've read this FAQ, but after adding
configuration similar to the example I'm still seeing the same problem.

http://www.masonhq.com/?FAQ:ServerConfiguration#h-how_can_i_prevent_a_particular_subdirectory_from_being_handled_by_html__mason_

This is my mason configuration, and I'm these version of mason:

perl-HTTP-Server-Simple-Mason-0.09-5.el5
perl-HTML-Mason-1.39-1.el5


<web-server-config>

    PerlSetVar  MasonCompRoot  /var/www/html
    PerlSetVar  MasonDataDir   /var/www/mason
    PerlModule  HTML::Mason::ApacheHandler

    <FilesMatch "(\.html)$">
      SetHandler perl-script
      PerlHandler HTML::Mason::ApacheHandler
    </FilesMatch>

#*** following the FAQ here
    <Location /var/www/html/some/path/to/this/directory/lal>
      SetHandler default-handler
    </Location>

</web-server-config>

What am I doing wrong? Any help would be much appreciated, thanks.

Best,
Greg




------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Mason-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mason-users