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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]