Stas Bekman wrote:

Try:

  use Apache::Response ();
  use Apache::Const -compile => qw(FORBIDDEN);

  sub handler {
      $r->custom_response(Apache::FORBIDDEN, $url);
  ...
  }

Ah, no, that will just change the body of the response, not the HTTP status (still 403).



-- __________________________________________________________________ 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

--
Report problems: 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