http://www.apache-httpd.com/
Home
» modperl.perl »
USER_AGENT
Idel Fuschini
2009-05-11
Replies:
USER_AGENT --
Idel Fuschini
2009-05-11
USER_AGENT
--
Clinton Gormley
2009-05-11
Find Java Web Hosting
Author Login
Post Reply
Hi,
I want to read the user_agent i'm using this code:
my $f = shift;
my $user_agent=$f->headers_in->{'User-Agent'};
but apache logs this error:
Can't locate object method "headers_in" via package "Apache2::Filter"
why ?
--
Idel
=====================
E-Mail:
idel.fuschini@gmail.com
Web Site:
http://www.idelfuschini.it
OpenSource Project:
http://www.idelfuschini.it/apache-mobile-filter.html
©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.