Hi

I have used HTML::Mason with Apache for some years, and now i want to
start using Mason2. I have tried the set up described in the manuals
Apache2+Plack+Poet+Mason, and that works well. However:

I want to be abel to serve all kind of files (Mason2, Mason1, PHP, plain
html, css, jacascript, images, ...) from the same directory. I can do that
with HTML::Mason using an apache LocationMatch directive (se below). I
have tried to do the same thing with Mason2 but have failed so far.

Can anybody help?

Thanks in advance,
Lars "Søm" Hansen

-------------------------------------

# Top level HTML::Mason files
<LocationMatch "\.m\.html$">
   SetHandler perl-script
   PerlHandler HTML::Mason::ApacheHandler
</LocationMatch>

# Internal HTML::Mason files
<LocationMatch "(\.mc|dhandler|autohandler)$">
   SetHandler perl-script
   PerlInitHandler Apache2::Const::NOT_FOUND
</LocationMatch>



------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to