Greetings all!
I am having a problem with my Apache config in order to run perl scripts
(*.pl) outside of the cgi-bin directory in a vHost arrangement. I have root
on the box. Perl is corrrectly cofigured and working on the box. I have
several Perl sistes running scripts out of cgi-bin. Here is my vHost file:
<VirtualHost 192.168.1.25>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/devin-com/public_html/
ServerName devin-com.devinhedge.net
#<IfModule mod_dir.c>
# DirectoryIndex index.pl index.html
#</IfModule>
<Location /perl>#
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
Options +ExecCGI
</Location>
HostnameLookups On
ErrorLog /home/devin-com/logs/error_log
CustomLog /home/devin-com/logs/access_log common
</VirtualHost>
I recieve the following error when I try apachectl configtest:
# apachectl configtest
Checking configuration sanity for Apache 1.3: Syntax error on line 10 of
/etc/httpd/conf/vhosts/bizeserv.conf:
Invalid command 'PerlHandler', perhaps mis-spelled or defined by a module
not included in the server configuration
[ FAILED ]
Checking configuration sanity for Apache 1.3/mod_perl (running in proxied
mode): [ OK ]
I am running:
Mandrake Linux 9.1 (kernel 2.4.12)
Apache 1.3.27
Perl 5.8.0
Cheers,
Devin.
---------------------------------------
forti et fideli nihil difficile
---------------------------------------
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]