Re: PerlAccessHandler for POST access

pengyh <[email protected]> Wed, 3 Aug 2022 20:50:35 +0800
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>


> return $key eq $digest ? Apache2::Const::OK : Apache2::Const::FORBIDDEN;

there are no further customized code for Apache2::Const::OK.

the httpd.conf just as:

<VirtualHost *:80>
         ServerAdmin webmaster@localhost
         ServerName my.site.net
    	DocumentRoot /var/www/feedback

         PerlPostConfigRequire /etc/apache2/modperl/startup.pl

         <Location />
             SetHandler modperl
             PerlAccessHandler MLFB
         </Location>


         ErrorLog ${APACHE_LOG_DIR}/error.log
         LogLevel warn
         CustomLog ${APACHE_LOG_DIR}/mlfb.access.log combined

</VirtualHost>