Re: [users@httpd] Whither HTTP_USER_AGENT?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When I use CGI/PERL and print it, I get

-- Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 --

Very much there.
Looks like somthing in particular to do with your SSI scripts.

- Aman Raheja

Robert Granvin wrote:

Then I'm completely baffled.
When an ISP I use upgraded Apache, the variable ceased to be available to the SSI scripts I use.  When we recently upgraded a server here, we encountered the same problem.  <!--#printenv-->, for example, also does not list the variable (but shows every other one that I expect and am used to).


\\ Robert J. Granvin                                             Webmaster
\\ robert.granvin@xxxxxxxxxxxxxx                       Metro State University

araheja@xxxxxxxxxxxxxx 05/25/05 3:44 PM >>>
Th variable is very much available. Look at the apache docs you'll find a good example http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html
HTH
Aman Raheja
http://www.techquotes.com
Robert Granvin wrote:

OK, I'm certain this is an old question... my apologies for not finding it first...

It appears that HTTP_USER_AGENT is no longer an available environment variable.  Is this correct?  And if so, is there a way to "activate" it or use some other function to obtain browser and version information?

We have an infrastructure that changes stylesheets and content based on the browser and version being used, and obviously without this environment variable, that is now broken.

Do I have any options?

Many thanks...



\\ Robert J. Granvin                                             Webmaster
\\ robert.granvin@xxxxxxxxxxxxxx                       Metro State University


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx






---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux