perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Arnold <>
Subject On-the-Fly
Date Sat, 03 Jul 2004 22:38:36 GMT

Tried this in my httpd.conf:

<Location /public>
        PerlAccessHandler 'sub {
                                return Apache::Constants::FORBIDDEN

But got this error when I tried to restart server:

[root@ps-114a-2k apache2]$bin/apachectl graceful
Syntax error on line 1204 of /usr/local/apache2/conf/httpd.conf:
Invalid command 'return', perhaps mis-spelled or defined by a module not
included in the server configuration

Any suggestions or explanation?

Report problems:
Mail list info:
List etiquette:

View raw message