You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@humpy.dsndata.com> on 1995/11/10 22:45:38 UTC

[comp.infosystems.www.servers.unix] Browser Detection Solution!!! (No more "Netscape Only" problems)

>From c.i.w.s.u


------- Start of forwarded message -------
From: Jeremie Miller <jm...@mwci.net>
Subject: Browser Detection Solution!!! (No more "Netscape Only" problems)
Newsgroups: comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.misc,comp.infosystems.www.authoring.cgi,comp.infosystems.www.servers.unix,comp.infosystems.www.servers.misc
Date: Sat, 04 Nov 1995 17:49:10 -0600
Organization: MidWest Communications, Inc.
Path: news.dsndata.com!news.inetnebr.com!legba.synergy.net!news-out.internetmci.com!newsfeed.internetmci.com!chi-news.cic.net!simtel!agis!news.MWCI.NET!usenet
Lines: 16
Message-ID: <30...@mwci.net>
References: <Pi...@vancouver-webpages.com>
NNTP-Posting-Host: support1.mwci.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0b1J (Windows; I; 32bit)
Xref: news.dsndata.com comp.infosystems.www.authoring.html:26058 comp.infosystems.www.authoring.misc:4421 comp.infosystems.www.authoring.cgi:11594 comp.infosystems.www.servers.unix:5936 comp.infosystems.www.servers.misc:1602

I have modified parts of Apache's server code to allow it to detect which 
browser is requesting a directory, and return a different index file based 
on which browser it is.  It uses a new .htaccess option called 
"DirectoryDetectIndex" which takes two arguments, the index filename, and a 
substring of the browser which that index file should be served to.  This 
patch is currently a drop in replacement for the mod_dir.c file in the 
Apache 0.8.16 release.  I cannot guarentee that it will work for everyone. 

Questions/Comments should be directed to the 
comp.infosystems.www.servers.unix newsgroup.

Files available at:
http://www.jeremie.com/projects/apache

Jeremie Miller
jeremie@jeremie.com
------- End of forwarded message -------