I only caught part of this, so excuse me if I'm giving the wrong advice,
but from what I see, it sounds like you're trying to do something like I
did.

My quick solution rather than run DNS was to simply edit my /etc/hosts
file  (and consequently edit my windowsXP hosts file as well.

[root@daevid netsaint]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain localhost
192.168.0.254   daevid.com www.daevid.com ftp.daevid.com daevid
192.168.0.254   daevid.net www.daevid.net ftp.daevid.net
192.168.0.254   daevid.org www.daevid.org ftp.daevid.org
192.168.0.254   antagonyst.com www.antagonyst.com ftp.antagonyst.com
antagonyst
192.168.0.254   dameincain.com www.dameincain.com ftp.dameincain.com
dameincain

And then in windows just use the same file.

> All the same, you'd probably do yourself a service to not use 
> absolute paths in your links.

I strongly agree. Or if you must, then learn the basics of PHP and use
an 'include' file with the url, so you can change it in one place and
have it be global :)

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:redhat-list-admin@;redhat.com] On Behalf Of Gordon Messmer
> Sent: Thursday, October 17, 2002 9:45 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Apache
> 
> 
> On Wed, 2002-10-09 at 13:50, Ted Hilts 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 
> ...
> > In other words, there are full path (including domain name) 
> references
> > through out the hundreds of thousands of files.
> ...
> > Any help on this would be appreciated.  I am trying to do this a 
> > simply
> > as possible.
> 
> OK, the easiest way to take care of this would be to run your 
> own name server for your internal LAN.  Configure an 
> authoritative zone for the hostname "www.name.com" that 
> points to your internal server.  When you want to test the 
> content on the public server, comment out that section of 
> /etc/named.conf and restart the named server.




-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to