I am trying to set up httpd.conf so that documents in
/home/httpd/html/mason are handled by HTML::Mason but documents in
/home/httpd/html/mason/perl are handled by Apache::Registry.
The problems in that while Mason works, the Apache::Registry cgi programs
are getting dumped as plain text instead of executed.
If it matters, I am changing $r->filename in my PerlAuthzHandler.
Here is the section from httpd.conf:
Alias /mason /home/httpd/html/mason
Perlrequire /etc/httpd/conf/handler.pl
<Directory /home/httpd/html/mason>
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
Options +ExecCGI
</Directory>
<Directory /home/httpd/html/mason/perl>
PerlHeaderParserHandler Apache::SetRealm
AuthType Basic
PerlAuthenHandler Apache::CheckPass
PerlAuthzHandler Apache::CheckAccess
require valid-user
SetHandler perl-script
PerlHandler HTML::Mason
</Directory>
Thanks for any help.
-Todd