>
> If I do it like this, then I need to embed in the individual pages
>
> [- use MYMODULE -]
>
> and then run that code? I need this to work on a whole
> subdirectory which is a virtual host.
>
You could put this code in a mod_perl handler, e.g. in your httpd.conf say
PerlHandler MyModule ;
Thanks
If I do it like this, then I need to embed in the individual pages
[- use MYMODULE -]
and then run that code? I need this to work on a whole
subdirectory which is a virtual host.
David
> Hi,
>
> I don't have used EmbperlChain on my own, so I can't tell you what's wrong,
> but you c
Hi,
I don't have used EmbperlChain on my own, so I can't tell you what's wrong,
but you can use Embperl's Execute method to get the same result:
>
> unless(-r _){
> $r->log_error("File Access Denied to $filename");
> return FORBIDDEN;
> }
>