I would like to use a certain module (Apache::Traffic) to log traffic on a per UID, but since we are a web hosting, we do not want our clients to be able to use mod_perl. Is there a nice solution that will allow me to use this module, but will disallow ALL clients from using any features of mod_perl?
In mod_perl 2.0 you can disable all phases but the logging phase. That means that that in theory your users will be able to run other log handlers, but that's only if you allow them to change the configuration of the server to configure those other handlers. If they can't do it, then only the handlers that you have configured will be run-able. See:
http://perl.apache.org/docs/2.0/user/config/config.html#C_Enable_
http://perl.apache.org/docs/2.0/user/config/config.html#C_Perl_Handler_
If you control the server configuration and don't let users add their own configuration, you can do that in mod_perl 1.0 as well.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html