panic% perl -le 'print join "\n", @INC'
On our machine it reports:
Therefore, on our machine, we might place the files in the directory
default, when you work as root, the files are
created with permissions allowing everybody to read them, so here we
don't have to adjust the file permissions (the
server only needs to be able to read those).
Now add the following snippet to
/usr/local/apache/conf/httpd.conf, to configure
mod_perl to execute the ModPerl::Rules1::handler
subroutine whenever a request to mod_perl_rules1
Now issue a request to:
and, just as with the mod_perl_rules.pl scripts,
the following should be rendered as a response:
Don't forget to include the port number if not using
port 80 (e.g.,
https://localhost:8080/mod_perl_rules1); from now
on, we will assume you know this.
You should see the same response from the server that we saw when
issuing a request for the former mod_perl handler.