home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- #This will send the location of a file based on the
-
- #client browser
-
- FILENAME="default.html"
-
- #default.html is the standard HTML file we want to serve
-
- #if the user is using NetScape, we will redirect to
-
- #nsversion.html
-
- if [ "$HTTP_USER_AGENT" = "Mozilla"]; then
-
- FILENAME="nsversion.html"
-
- fi
-
- echo Location: ../htdocs/$FILENAME
-
- echo
-
-
-
-