Quote:
Originally Posted by Johnny Utah
What's the output of the following commands:
Code:
tail /var/log/httpd/error_log
|
[root@web ~]# tail /var/log/httpd/error_log
[Mon Feb 09 18:51:03 2009] [error] [client 192.168.1.100] File does not exist: /var/www/html/favicon.ico
[Mon Feb 09 18:55:42 2009] [notice] caught SIGTERM, shutting down
[Mon Feb 09 18:57:31 2009] [notice] core dump file size limit raised to 4294967295 bytes
[Mon Feb 09 18:57:32 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Feb 09 18:57:33 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Feb 09 18:57:33 2009] [notice] Digest: done
[Mon Feb 09 18:57:33 2009] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Mon Feb 09 18:57:33 2009] [notice] LDAP: SSL support unavailable
[Mon Feb 09 18:57:34 2009] [notice] mod_python: Creating 4 session mutexes based on 150 max processes and 0 max threads.
[Mon Feb 09 18:57:35 2009] [notice] Apache/2.0.52 (Fedora) configured -- resuming normal operations
[root@web ~]#
Quote:
Code:
tail /var/log/httpd/access_log
|
[root@web ~]# tail /var/log/httpd/access_log
192.168.1.100 - - [09/Feb/2009:18:51:03 -0600] "GET / HTTP/1.1" 403 3931 "-" "Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041020 Firefox/0.10.1"
192.168.1.100 - - [09/Feb/2009:18:51:03 -0600] "GET /icons/apache_pb2.gif HTTP/1.1" 200 2414 "http://192.168.1.100/" "Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041020 Firefox/0.10.1"
192.168.1.100 - - [09/Feb/2009:18:51:03 -0600] "GET /icons/powered_by_fedora.png HTTP/1.1" 200 2243 "http://192.168.1.100/" "Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041020 Firefox/0.10.1"
192.168.1.100 - - [09/Feb/2009:18:51:03 -0600] "GET /favicon.ico HTTP/1.1" 404 331 "-" "Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041020 Firefox/0.10.1"
[root@web ~]#
Quote:
try looking in /etc/httpd/conf/httpd.conf for this entry
#ServerName localhost:80
replace localhost with your FQDN, make sure it is uncommented, and restart apache
/sbin/server httpd restart
|
didn't work. does it just need to be the domain (something.com), or is the http:// and port # required too?