Thread: Web Page Help
View Single Post
  #7   Spotlight this post!  
Unread 26-07-2001, 22:24
mpking's Avatar
mpking mpking is offline
Registered User
AKA: Mike
#0088 (TJ²)
Team Role: Alumni
 
Join Date: Jun 2001
Location: Bridgewater MA
Posts: 144
mpking is an unknown quantity at this point
Send a message via AIM to mpking
Ok, just a small minor update. The previous script I posted don't work.

I did a google search on SSI redirects

Came up with this script. Keep in mind this is the entire webpage.

Code:
<!--#if expr="${REMOTE_ADDR} = /192.168.10/" --> 
<!--#include file="indexresnet.html" --> 
<!--#else --> 
<!--#include file="indexall.html" --> 
<!--#endif -->


Kinda neat, eh?

The pages I want displayed are completely contained in the .html files.

Too bad no one had mentioned server side includes to me before. (they've been suppored since both browsers verion 2.0)
__________________
Mike King
Bridgewater Raynham Regional High School
Team 88 TJ²
The Home of Moe
Reply With Quote