Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 1999 17:29:15 -0400 (EDT)
From:      Will Andrews <andrews@TECHNOLOGIST.COM>
To:        Douglas Winslow <douglas@min.net>
Cc:        freebsd-advocacy@FreeBSD.ORG
Subject:   Re: Slashdot-like site
Message-ID:  <XFMail.990920172915.andrews@TECHNOLOGIST.COM>
In-Reply-To: <Pine.BSI.4.10.9909201233051.4590-100000@min.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 20-Sep-99 Douglas Winslow wrote:
> If you aren't logged on with a user account on the site, it'll redirect
> you to whatever section it thinks is most appropriate based on your
> browser's user agent string.  If you are using Lynx, it'll revert to a
> (very quickly hacked in) text-only mode.

I assume you do this through PHP's ability to use apache's USER_AGENT env var.
A very nice way to do it.

> Someone mentioned that some Netscape versions may report as Linux 2.0.36
> due to the FreeBSD's Linux emulation layer, but I'm not sure exactly how I
> can get around that.  The biggest complaint is from people using the
> Junkbuster proxy, as it spoofs a Macintosh user agent string. :-)

Those people need to install the native version of Netscape. I run Netscape
4.61, and so my user agent string looks like this:

        Mozilla/4.61 [en] (X11; I; FreeBSD 3.3-STABLE i386; Nav)

..and I get redirected to the BSD page. ;)

--
Will Andrews <andrews@technologist.com>
GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w---
?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ 
G++>+++ e->++++ h! r-->+++ y?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-advocacy" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990920172915.andrews>