Re: IMP issue
On Mon, Jul 10, 2000 at 01:05:14PM -0700, Matthew Thompson wrote:
> > Matthew Thompson wrote:
> > >
> > > Hello, all
> > >
> > > I just installed imp/horde/mysql. My server is located at mattyt.net.
> > > Here is my /etc/hosts:
> > >
> > > 127.0.0.1 localhost
> > > ...
> > > 192.168.1.1 doma.mattyt.net doma
> > > ...
> > >
> > > For some reason, when I point Netscape (from outside mattyt.net) at
> > > mattyt.net/imp, Netscape says 'Looking up host doma.mattyt.net', then it
> > > says 'Host doma.mattyt.net not found' of course, since the name doma is
> > > only know to the LAN, it's not a routed subnet.
> >
> > What does your /etc/nsswitch.conf look like? Is it only
> > using DNS for host name resolution? If so,
> >
> > 1) insert "files " before "dns", or
> > 2) is there any internal nameserver for your LAN?
> > One that'll forward queries for the rest of the world?
> > Then put that first in the nameserver entries in
> > /etc/resolv.conf.
>
> Both of those files are indeed set up as you suggest and the problem
> persists. It seems strange that imp would be interested in the IP for
> doma.
IMP doesn't care... Apache does.
> Can anyone shed some light?
Convince Apache of your hostname.
See http://www.apache.org/docs/misc/FAQ.html#set-servername for why.
--
Brian Moore | Of course vi is God's editor.
Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
Usenet Vandal | for it to load on the seventh day.
Netscum, Bane of Elves.
Reply to: