-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08-Oct-2002/13:25 -0700, Ted Hilts <[EMAIL PROTECTED]> wrote:
>Does anyone know how to tell Apache to respond to a full domain name
>like: http://www.name.com
>
>I have downloaded to my LAN the web site files and directories from my
>hosted virtual server on the Internet.  I don't want the pathnames
>converted to local directories on my workstation.  I need to run the
>Apache web page server on my LAN so it sees these same directories and
>files as does the Apache web server on my hosted web site sees these
>directories and files.
>
>Does anyone have any suggestions how to make the LAN based Apache server 
>respond to a domain name like http://www.name.com

This sounds like the problem is in the HTML, not in Apache. In your HTML,
you should use relative links like this

  <a href="/">Homepage</a>

not absolute links like this

  <a href="http://www.name.com/";>Homepage</a>

Relative links allow you to move your pages to another server and have
them work properly. Your local server is going to have to have at least a
subset of the same directory structure as your real server.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene <mailto:[EMAIL PROTECTED]> 0x6C94239D

iD8DBQE9o5XEpCpg3WyUI50RAoQMAJ42v4oZvyCrGvg16t06x2aKCalMzgCgmVv6
eA8me5fOuSXQjZPTLrEA9uc=
=39We
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to