Date: Sat, 01 Jan 2000 10:10:43 -0600 (CST) From: Don Read <dread@texas.net> To: steve@hot.net.au Cc: questions@FreeBSD.ORG Subject: RE: Apache / DNS / ? Message-ID: <XFMail.000101101043.dread@texas.net> In-Reply-To: <200001011436.BAA51485@hot.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01-Jan-00 steve@hot.net.au wrote: > Hi All, > > I'm trying to display one page to my users and another page to the outside > world. > > > Something like. > > outside person looks at home page (http://some.domain/) and gets index.html > inside person looks at home page (http://some.domain/) and gets inside.html > 1. server side include (but I've no experience with them) 2. have index.html redirect to a cgi script: ------ #!/bin/sh set -f echo Content-type: text/html echo DOC="go_away.txt" case $REMOTE_ADDR in 192.168.3.* | 192.168.170.* | 192.168.172.* ) DOC="intern.txt";; esac cat $DOC exit 0 ------- Regards, -- Don Read dread@calcasieu.com EDP Manager dread@texas.net Calcasieu Lumber Co. Austin TX -- No Coffee No Peace To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000101101043.dread>