#!/bin/sh if { echo $REMOTE_HOST | grep -i "\.pl$" >/dev/null ; } then echo Location: index_pl.html echo else echo Location: index_en.html echo fi