Apache Web-Serving with Mac OS X: Part 2
Subject:   Domain Name
Date:   2002-03-01 11:11:16
From:   fritz
Response to: CGI script error

OK, in trying to figure out what is happening I am following the error_log and keep seeing the two following entries and am concfused. (not that that is all tha uncommon <grin>)

1)To Thu Feb 28 17:00:41 2002] [alert] httpd: Could not determine the server's fully qualified domain name, using for ServerName
[Thu Feb 28 17:00:41 2002] [notice] Apache/1.3.22 (Darwin) PHP/4.0.6 configured -- resuming normal operations

First, why is it unable to determine the FQDN?

I tried going into the file ~/etc/hostconfig, and changing the "HOSTNAME=-AUTOMATIC- " ( I have an DHCP DSL connection, not a static IP) but tried just the same to a name I own and is not used yet. NO Change. Is this the proper place to do that and if so how do I make it take effect so that I don't get the error listed above? Another note is that checking the output page of index.PHP shows host name as 127.0.01 regardless of this setting.

Also if you could comment on what the following means?

[Thu Feb 28 17:00:41 2002] [notice] Accept mutex: flock (Default: flock)

Thanks for a great series!

1 to 2 of 2
  1. Domain Name
    2003-04-05 10:09:44  anonymous2 [View]

  2. Domain Name
    2002-03-03 15:13:59  philocon [View]

1 to 2 of 2