-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 09-Oct-2002/13:50 -0700, Ted Hilts <[EMAIL PROTECTED]> wrote:
>The content of this information which I moved from the Apache server in
>Texas onto my LAN Apache server contains references like:
>http://www.name.com/directory/file.html and
>http://www.name.com/another_directory/image_file.gif , etc. I don't
>want to change these references and I don't want browser use of these
>references to go out onto the Internet. I want LAN browser use of
>these URL to go exclusively to the LAN based Apache web page service.
There are several things you need to do to fix this:
- Setup a separate DocumentRoot for each site on your local server. You
can edit httpd.conf, change DocumentRoot and restart Apache each time
you want to check a different site. Each site's files would be
downloaded into a directory like /usr/local/httpd/htdocs/site1/
Then you would edit httpd.conf to set
DocumentRoot /usr/local/httpd/htdocs/site1
Then restart Apache.
- Edit the hosts file on the machine that runs your browser so that the
remote hostname points to your local server:
LOCAL_SERVER_IP www.name.com
That way your browser will connect to your local Apache when asked to
retrieve a page from the target site.
Tony
- --
Anthony E. Greene <mailto:[EMAIL PROTECTED]%3E>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05 HomePage: <http://www.pobox.com/~agreene/>
Linux. The choice of a GNU generation <http://www.linux.org/>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene <mailto:[EMAIL PROTECTED]> 0x6C94239D
iD8DBQE9pLoJpCpg3WyUI50RAtc+AKDOOk5CSL7EjY7eJo58hhUBhnBmMACgjv5l
vs9RW8I91sKCoe+FELrpZts=
=MhXW
-----END PGP SIGNATURE-----
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list