If I use 
<VirtualHost ...>
      PerlOptions None +Log
  </VirtualHost>

And in httpd.conf, we do not specify allow override to none, so by
default allow override is ALL, can users override this directive from
inside an htaccess file and set perl handlers?


-----Original Message-----
From: Stas Bekman [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 22, 2004 1:33 PM
To: [EMAIL PROTECTED]
Subject: Re: mod_perl for web hosting

please reply back to the list. thank you.

sagi wrote:
> Were running Apache/1.3.29... So I suspect using 2.0 would not work.
> 
> What about exisiting at the PERL_CLEANUP using the callback hook, this
> is right after the PERL_LOG (according to the docs). Would this be an
> appropriate solution?
> 
> -----Original Message-----
> From: Stas Bekman [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, January 22, 2004 1:20 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: mod_perl for web hosting
> 
> 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:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org   http://ticketmaster.com


-- 


__________________________________________________________________
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

Reply via email to