redefined subs with perlrun?

pertinent parts, from httpd.conf:
        #for running perl scripts
        PerlModule Apache::PerlRun
        
        #for running perl internally from within apache
        #PerlModule Apache::Registry
        
        ErrorDocument 401 /cgi-bin/noAccess.pl
        
        ScriptAlias /cgi-bin /usr/lib/cgi-bin/
        <Directory /usr/lib/cgi-bin>
                order allow,deny
                allow from all
                Options -Indexes +ExecCGI
        </Directory>
        
        # allow arbitrary *.perl files to be scattered throughout the site.
        <FilesMatch "\.(pl|perl)">
                Options +ExecCGI
                SetHandler perl-script
                PerlSendHeader On
                PerlHandler Apache::PerlRun
        </FilesMatch>

from /var/log/apache/errors.log:
        Subroutine b redefined at /usr/lib/cgi-bin/noAccess.pl line 20.

i thought that only happened with Apache::Registry...?

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Their is five errers in this sentance.

Reply via email to