|
From: Dave H. <da...@ho...> - 2001-05-28 12:41:33
|
"Brendan B. Johnson" <br...@br...> writes: > I'm trying to install Slash_2.0.0 on a RackSpace machine running their > version of RedHat. I've installed all the Perl modules and slash and am > now trying to install mod_perl with Apache. The error I am getting when > trying to run apache is: > [root@server1 apache]# bin/apachectl configtest > Syntax error on line 6 of /usr/local/slash/httpd/slash.conf: > Invalid command 'PerlHandler', perhaps mis-spelled or defined by a module > not included in the server configuration > > I have double-checked the Perl modules by trying to reinstall each one from > CPAN, but they are all up-to-date. > I tried installing mod_perl using the following commands: > perl Makefile.PL APACHE_SRC=/usr/src/apache_1.3.19/src DO_HTTPD=1 > USE_APACI=1 PERL_MARK_WHERE=1 EVERYTHING=1 APACHE_PREFIX=/usr/local/apache > ADD_MODULE=vhost_alias,env,log_config,log_agent,log_referer,mime,negotiation > ,status,info,include,autoindex,dir,cgi,asis,imap,actions,userdir,alias,rewri > te,access,auth,auth_anon,auth_db,digest,expires,headers,usertrack,so,setenvif Take a look at your config.status? Also, are you doing all these things as .so? In which case make sure you've got the AddModule stuff. Finally, I would STRONGLY recommend a two tier Apache setup as speicifed in Stas Bekman's guide: http://perl.apache.org/guide this means you will be able to strictly control how much memory you give over to the mod_perled Apache. I would NEVER have a mod_perled server internet facing. Well, marginally more than I would any kind of NT box. -- Dave Hodgkinson, http://www.hodgkinson.org Editor-in-chief, The Highway Star http://www.deep-purple.com Interim CTO, web server farms, technical strategy ---------------------------------------- |