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:

# starfrontiers.watson-wilson.ca
<VirtualHost 216.138.221.7:80 >
ServerName starfrontiers.watson-wilson.ca
DocumentRoot /var/www/starfrontiers/htdocs
ServerName starfrontiers.watson-wilson.ca
ErrorLog /var/log/apache/sf_error_log
CustomLog /var/log/apache/sf_access_log neil

   <Directory /var/www/starfrontiers/htdocs>
       AllowOverride All
       Options FollowSymLinks
   </Directory>

   <IfModule mod_perl.c>
       PerlFreshRestart On
       PerlModule Apache::DBI
       PerlModule Apache2::Request
       PerlModule Apache2::Cookie

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


There are no errors reported in the log files. No syntax errors are reported
either.

--
Neil Watson               | Gentoo Linux
Network Administrator     | Uptime 8 days
http://watson-wilson.ca   | 2.6.11.4 AMD Athlon(tm) MP 2000+ x 2


-------------------------------------------------------
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