[freeside] setup help (Mason & Apache problem)
Vlad Sedov
vlad at onrampok.com
Fri Jun 6 10:55:08 PDT 2003
FYI, It really is easier to go the Apache::ASP route.... not nearly as
many hiccups as with Mason.
Later,
Vlad
-----Original Message-----
From: Jesse D. Guardiani [mailto:jesse at wingnet.net]
Sent: Friday, June 06, 2003 12:13 PM
To: ivan-freeside at sisd.com
Subject: [freeside] setup help (Mason & Apache problem)
Howdy list,
I'm a fairly accomplished FreeBSD sys admin with
a decent knowledge of Perl, but I've just installed
a TON of modules I've never used before, including
Mason, so please bear with me and push me in the
right direction...
I get the following error when I try to load apache
with my httpd-freeside.conf:
------ begin output ------
[12:55]jesse at cvsup:[/usr/local/etc/freeside]#
/usr/local/apache/bin/httpd -f
/usr/local/apache/conf/httpd-freeside.conf
Syntax error on line 475 of /usr/local/apache/conf/httpd-freeside.conf:
The following parameter was passed in the call to
HTML::Mason::ApacheHandler::new but was not listed in the validation
options: data_dir
at /usr/local/etc/freeside/handler.pl line 38
Compilation failed in require at
/usr/local/apache/conf/httpd-freeside.conf line 474.
Exit 1
------ end output ------
I am using FreeBSD 4.7-RELEASE
with Apache 1.3.27
and mod_perl 1.27 compiled STATICALLY into apache
And I am trying to get freeside-1.4.1rc3 working.
I have the following in my httpd-freeside.conf:
PerlModule HTML::Mason
<Directory /usr/local/apache/htdocs/freeside-mason>
<Files ~ (\.cgi)>
AddHandler perl-script .cgi
PerlHandler HTML::Mason
</Files>
<Perl>
require "/usr/local/etc/freeside/handler.pl";
</Perl>
</Directory>
And /usr/local/etc/freeside/handler.pl is a slightly
modified version of htetc/handler.pl that came with
Freeside. Here's a diff:
------ begin diff ------
--- handler.pl Fri Jun 6 12:55:02 2003
+++ /usr/local/src/BILLING/freeside-1.4.1rc3/htetc/handler.pl Sun May
11 18:25:15 2003
@@ -12,8 +12,8 @@
# Bring in ApacheHandler, necessary for mod_perl integration.
# Uncomment the second line (and comment the first) to use
# Apache::Request instead of CGI.pm to parse arguments.
-#use HTML::Mason::ApacheHandler;
- use HTML::Mason::ApacheHandler (args_method=>'mod_perl');
+use HTML::Mason::ApacheHandler;
+# use HTML::Mason::ApacheHandler (args_method=>'mod_perl');
# Uncomment the next line if you plan to use the Mason previewer.
#use HTML::Mason::Preview;
------ end diff ------
Any ideas?
Thanks!
--
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v) 423-559-5145 (f)
http://www.wingnet.net
More information about the freeside-users
mailing list