Toon posts:

Apache 1.3 probleem

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik heb Apache 1.3 'out of the box' geinstalleerd. Als ik hem wil starten zegt ie: 'Cannot determine local host name. Use the ServerName directive to set it manually.' Maar hoe doe ik dat? De documentatie verwijst naar een file (INSTALL) die niet bestaat.
Vorige versies van Apache gaven geen probleem.

Verwijderd

Dit moet in je httpd.conf staan ergens en daar moet je je eigen ip inzetten, ik heb hier als voorbeeld de dns server van sjello gedaan.
code:
1
2
3
4
5
6
7
8
9
10
11
12
# ServerName allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e., use
# "www" instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name you 
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address (e.g., [url=http://123.45.67.89/)]http://123.45.67.89/)[/url]
# anyway, and this will make redirections work in a sensible way.
#
ServerName 62.108.1.65

Verwijderd

Topicstarter
Thanx! :)