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; > } >

Chaining Modules in with embperl

2002-04-03 Thread david
Hello I'm a little new to embperl. I have a friend who uses it alot. My problem is that I need to get my modperl module to work with embperl. The module is simple. It just changes on the fly the BASE HREF tags from one site to another so that we don't have to hard ocde the canges. It looks l