[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-advocacy
Subject: Re: Slashdot-like site
From: Will Andrews <andrews () TECHNOLOGIST ! COM>
Date: 1999-09-20 21:29:15
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic