You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by sagi <sa...@powweb.com> on 2004/01/22 21:57:20 UTC

mod_perl for web hosting

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?
 
 

Re: mod_perl for web hosting

Posted by Stas Bekman <st...@stason.org>.
sagi wrote:
> 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:stas@stason.org 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