> > 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 <location /chain/location> PerlHandler MyModule ; </location> and you have a sub handler in your module, which get's called for every file that is requested under the location you specified. If the handler executes the code I have posted your are done, without changing the Embperl Files. Gerald ------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131 WWW: http://www.ecos.de Fax: +49 6133 925152 ------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
