Hello,

Neil Watson wrote:

Having trouble getting HTML-Mason running on Apache2 with Modperl2. Apache2 is up and running. However, any mason tags are are not processed. They are output
as text. Vhost file: Code:

This symptom sounds like Mason is never processing the files. Apache is simply serving the file.

<LocationMatch "\.*\.(html|txt|pl|mas)$">
SetHandler perl-script
PerlHandler HTML::Mason::ApacheHandler
PerlSetVar MasonAllowGlobals $dbh
PerlSetVar MasonDeclineDirs 0
</LocationMatch>

I think your LocationMatch regex is the problem. It looks like only hidden files, i.e. those starting with ".", will be passed to Mason. Maybe the first \. is a typo?

Though, my ability to read regex is kind of poor.

Take care,

Kurt Hansen


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to