On Tue, 10 Oct 2000, Todd Chapman wrote:
> 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>
It looks to me like you have this set up backwards. It's going to serve
~httpd/html/mason/perl with Mason and ~httpd/html/mason with
Apache::Registry. Is that what you meant to do?
- Perrin