[plug] Local Apache problem

J Michael Gilks gilksjm at iinet.net.au
Tue Jan 8 12:23:46 WST 2002


Tried setting the server name to 127.0.0.1. httpd-perl starts OK, but httpd 
just fails. At least now I don't get the long message, but would be nice if I 
could make it work. Would it be something else in httpd.conf maybe.
Thanks for your time.
Love
Mike.
On Tue, 8 Jan 2002 11:29, Ben Jensz wrote:
> You need to give the "ServerName" directive in Apache a setting.  If the
> machine you're using is the one running Apache, then just set ServerName to
> 127.0.0.1.
>
> If you're connected to the net, I'd also use the "BindAddress" directive
> and set it to "127.0.0.1" also, so you don't get people outside accessing
> stuff from port 80.
>
>
> / Ben
>
> ----- Original Message -----
> From: "J Michael Gilks" <gilksjm at iinet.net.au>
> To: <plug at plug.linux.org.au>
> Sent: Tuesday, January 08, 2002 11:24 AM
> Subject: [plug] Local Apache problem
>
> > When I try to start apache I get the following message.
> >
> > Starting httpd-perl:  [60G[   [1;32mOK [0;39m  ]
> > Starting httpd: [Tue Jan  8 11:16:40 2002] [alert] httpd: Could not
>
> determine
>
> > the server's fully qualified domain name, using 127.0.0.1 for ServerName
> >  [60G[ [1;31mFAILED [0;39m]
> > [Tue Jan  8 11:16:45 2002] [alert] httpd: Could not determine the
> > server's fully qualified domain name, using 127.0.0.1 for ServerName
> >  [60G[ [1;31mFAILED [0;39m]
> > [Tue Jan  8 11:16:51 2002] [alert] httpd: Could not determine the
> > server's fully qualified domain name, using 127.0.0.1 for ServerName
> >  [60G[ [1;31mFAILED [0;39m]
> >
> > My hosts file contains the following entries
> >
> > 127.0.0.1 linux.personal localhost
> > 192.168.0.1 linux.personal localhost linux
> >
> > The 127.0.0.1 line has been changed from localhost.localdomain to
> > linux.personal with no effect.
> >
> > Can someone please suggest a solution to this problem as I need to debug
>
> some
>
> > PHP scripts and the machine won't connect to anything local.
> > I am running Mandrake 8.1
> > Love
> > Mike.



More information about the plug mailing list