Re: Chaining Modules in with embperl

2002-04-09 Thread Gerald Richter
> > 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 ;

Re: Chaining Modules in with embperl

2002-04-09 Thread david
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

Re: Chaining Modules in with embperl

2002-04-07 Thread Gerald Richter
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; > } >