Hi, I'm hoping someone can help me:
I have a few Mason sites on a server running Apache 1.3, and I need to move them over to another server running Apache 2.2.6. I have a test site "sort of" running. In my httpd.conf, if I set a FilesMatch or LocationMatch statement, Mason processes my .html files, but not my dhandlers. If I set a Location statement, Mason will not process my index.html pages, but will successfully run the rest of the site. I have DefaultType set to 'text/html' in httpd.conf. Here is the excerpt for my VirtualHost, any help would be appreciated. libapreq 2-2.08 HTML-Mason-1.37 mod_perl-2.0.3 ============ <VirtualHost *:80> ServerName testsite.testserver.com ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/local/apache2/htdocs/VH/test/htdocs ErrorLog /usr/local/apache2/htdocs/VH/test/logs/error_log CustomLog /usr/local/apache2/htdocs/VH/test/logs/access_log combined PerlModule HTML::Mason::ApacheHandler ### configure Mason PerlAddVar MasonCompRoot "main => /usr/local/apache2/htdocs/VH/test/htdocs" PerlAddVar MasonCompRoot "private => /usr/local/apache2/htdocs/VH/test/htdocs/include" PerlSetVar MasonDataDir "/usr/local/apache2/htdocs/mason" PerlSetVar MasonDeclineDirs 0 PerlSetVar MasonArgsMethod mod_perl ### Mason Global Variables PerlAddVar MasonAllowGlobals $dbh PerlAddVar MasonAllowGlobals $bURL PerlAddVar MasonAllowGlobals $cPath PerlAddVar MasonAllowGlobals $dbUser PerlAddVar MasonAllowGlobals $dbName PerlAddVar MasonAllowGlobals $dbHost # <Location /> # SetHandler perl-script # PerlHandler HTML::Mason::ApacheHandler # </Location> <LocationMatch "\.html$"> SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler </LocationMatch> </VirtualHost> -- ------------------------------------------------------------------------ Charles Farinella Appropriate Solutions, Inc. (www.AppropriateSolutions.com) [EMAIL PROTECTED] voice: 603.924.6079 fax: 603.924.8668 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users