hi,
ich hab da ein kleines Problem mit dem Apache Server. Und zwar folgendes. Wenn ich den Server als localhost laufen lasse (ServerName localhost) dann kann ich keine Cookies setzen. Wenn ich statt localhost meine IP-Adresse angebe, funktioniert alles normal.
"localhost" ist ein "reservierter Name". Unter ServerName solltest du irgendwas anderes einsetzen.
Zitat:
"ServerName gives the name and port that the server uses to identify itself. This can often be determined automatically, but we recommend you specify it explicitly to prevent problems during startup. If this is not set to valid DNS name for your host, server-generated redirections will not work. See also the UseCanonicalName directive. If your host doesn't have a registered DNS name, enter its IP address here. You will have to access it by its address anyway, and this will make redirections work in a sensible way."
Grüße
Christoph S.