>I was wondering if anyone could help me send two different pages depending
>on a user's domainname. For ex, if someone is coming from internal domain,
>(*.internal.com) show them the regular page and for *.external.com show them
>a different set of pages/directories.
>PS: Server is Apache 1.1 and OS is Solaris 2.5.
>Thanks for your time.
The universal way to do this is to use a CGI script for your primary
index file, then have 'internal' and 'external' directory trees with
the appropriate access control below the main directory.
The CGI redirects them down the apporpriate tree depending where they're
coming from.
With the latest NCSA httpd it's possible to set an 'OnDeny' so that denied
users get sent somewhere else, eliminating the need for CGI.
--
David Richards Ripco, since Nine*-Eighty-Three
My opinions are my own, Public Access in Chicago
But they are available for rental Shell/SLIP/PPP/UUCP/ISDN/Leased