Re: $r-set_handlers and $R-push_handlers

2001-11-20 Thread Perrin Harkins

 How can you specify a Location for these paramters,
 or can they be used only from within the current section?

$r is a request object, so modifications only affect the current request.
If you want to affect all requests, you need to do it in the configuration
stage.
- Perrin




RE: $r-set_handlers and $R-push_handlers

2001-11-20 Thread Geoffrey Young



set_handlers() and push_handlers() apply to the current 
request (except for the PerlRestartHandler and other handlers that are not 
request-oriented). it really doesn't make sense to have them apply only to 
a Location or otherwise - if you want them to apply only to a certain 
location use logic around $r-location, or use a Perl*Handler config within 
that Location.

HTH

--Geoff

  -Original Message-From: Issac Goldstand 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 20, 2001 11:22 
  AMTo: [EMAIL PROTECTED]Subject: $r-set_handlers and 
  $R-push_handlers
  How can you specify a Location for these 
  paramters, or can they be used only from within the current 
  section?
  
   Issac
  
  Internet is a wonderful mechanism for making a 
  fool ofyourself in front of a very large audience. 
  --Anonymous
  
  Moving the mouse won't get you into 
  trouble... Clicking it might. --Anonymous
  
  PGP Key 0xE0FA561B - Fingerprint:7E18 C018 
  D623 A57B 7F37 D902 8C84 7675 E0FA 561B