i have a fairly large motorsports website which has been using
mason for many years; recently events have forced me to rebuild
the server from scratch and i took the opportunity to upgrade from
CentOS 5 to CentOS 6. mason was installed from packages.

i'm having some trouble getting the Mason components to the
handler.

i am using .mhtml for the components, but the exposed web pages
are all .html and i want mason to process them. i have added the
mason type to the apache config. the virtual host directives follow;
the components declartions are ignored and i see no errors in the
error log. anyone have any suggestions about where to go next?

thanks,
   richard

<VirtualHost
192.94.170.10:80>                                                 
    ServerAdmin
webmas...@na-motorsports.com                                   
    DocumentRoot
/web/na-motor                                                 
    ServerName  
www.na-motorsports.com                                        
    PerlSetVar  MasonCompRoot  /web/na-motor
    PerlSetVar  MasonDataDir   /web/na-motor/mason-data
    <LocationMatch "\.m+html$">
        SetHandler   perl-script
        PerlHandler  HTML::Mason::ApacheHandler
    </LocationMatch>
    ErrorLog     /var/log/httpd/na-motor-error_log
    CustomLog    /var/log/httpd/na-motor-access_log common
</VirtualHost>


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to