Loading ...
Sorry, an error occurred while loading the content.

1305Re: upgrading from v1.95

Expand Messages
  • Remi Fasol
    Aug 11, 2003
    • 0 Attachment
      hello.

      i entered this code almost exactly as written, and for
      some reason, SessionQuery is not being turned off for
      non-Mozilla user agents.

      is there anything else i can try (or perhaps a
      suggested technique for tracking down why this
      happens)?

      thanks,
      remi

      --- Josh Chamas <josh@...> wrote:


      > # httpd.conf
      > PerlRequire /path/to/startup.pl
      > PerlInitHandler My::InitHandler
      >
      > # startup.pl
      > package My::InitHandler;
      > use Apache;
      >
      > sub handler {
      > my $r = shift;
      >
      > unless($r->header_in('User-Agent') =~
      > /^Mozilla/)) {
      > $r->dir_config('SessionQuery', 'Off');
      > # you might also set other SessionQuery*
      > params to Off here too...
      > }
      >
      > 200;
      > }
      >
      > 1;
      >
      > If you wanted to skip the startup.pl file, you could
      > move this code directly
      > to your httpd.conf file in <Perl> sections, or you
      > could nicely package this
      > handler as a real perl module which you PerlModule
      > from httpd.conf.
      >

      __________________________________
      Do you Yahoo!?
      Yahoo! SiteBuilder - Free, easy-to-use web site design software
      http://sitebuilder.yahoo.com

      ---------------------------------------------------------------------
      To unsubscribe, e-mail: asp-unsubscribe@...
      For additional commands, e-mail: asp-help@...
    • Show all 7 messages in this topic