Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting up Mason via cpanel

Status
Not open for further replies.

philote

MIS
Oct 2, 2003
861
US
Not sure if this is the best place for this topic, I'll try the Perl forum if I need to.....

I'm working on a web host that uses cpanel and seems to have mod_perl installed. I got them to install HTML::Mason but can't figure out how to get it working. The only thing cpanel allows me to do is set Apache handlers but I also have shell access.

Mason requires, as a bare minimum, the following in the config file:
Code:
    PerlModule HTML::Mason::ApacheHandler

    <Location />
      SetHandler   perl-script
      PerlHandler  HTML::Mason::ApacheHandler
    </Location>

Any idea how to get this working???

 
Maybe I'm wrong about mod_perl being installed. Or I can't use PerlHandler or PerlModule in the .htaccess file. The web host lists mod_perl as one of its perl modules, along with the associated Apache::* modules. So is it possible I just can't use PerlHandler in the .htaccess file? And is there anything else I can try?

I did get Mason working from CGI scripts just fine. But I'd still like to see it working under mod_perl.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top