self service package install problem

timlee1996 timlee1996 at aol.com
Tue Nov 30 17:51:23 PST 2004


Hi, I am trying to install the self service/agent package
in freeside-1.5.0pre6.

The agent.cgi is executable by freeside ( my apache 1.x running as 
freeside ).

If I used the straight cgi config in httpd.conf, the login page 
(generated by agent.cgi) shows up, but text <%= $username %> is
in the page.

#-----------------------------------
AddHandler cgi-script cgi pl

<Directory /var/www/masondocs/client>
        Options +ExecCGI
</Directory>
#-----------------------------------


I think this is because the variables in mason template is not being
resolved. So I used the following config from backend site which is
working fine for the freeside backend admin pages. But the self service 
login page return perl source code instead of html.


#-----------------------------------
PerlModule HTML::Mason

<Directory /var/www/masondocs/client>

<Files ~ (\.cgi|\.html)>
AddHandler perl-script .cgi .html
PerlHandler HTML::Mason
</Files>
  <Perl>
  require "/usr/local/etc/freeside/handler.pl";
  </Perl>

</Directory>
#-----------------------------------


Any suggestion ? What's the configure you guys used for the self
service site ?

Thanks a lot.

- Tim






More information about the freeside-users mailing list