tag:forum.selfhtml.org,2005:/selfIch kriege Apache nicht zum laufen – SELFHTML-Forum1999-08-16T22:35:00Zhttps://forum.selfhtml.org/self/1999/aug/16/ich-kriege-apache-nicht-zum-laufen/28220#m28220Chris Weber1999-08-16T21:32:00Z1999-08-16T21:32:00ZIch kriege Apache nicht zum laufen<p>Hallo,</p>
<p>ich habe mir eben Apache für Win32 runtergeladen (ich habe Win95 b). Nach der Installation habe ich Apache gestartet und bekam folgende Meldung:</p>
<p>C:\PROGRA~1\APACHE~1\APACHE\APACHE.EXE: cannot determine local hostname.</p>
<p>Use the ServerName directive to set it manually</p>
<p>Was heisst das und was soll ich tun ?</p>
https://forum.selfhtml.org/self/1999/aug/16/ich-kriege-apache-nicht-zum-laufen/28222#m28222Frank Schönmann1999-08-16T21:51:00Z1999-08-16T21:51:00ZIch kriege Apache nicht zum laufen<p>hi!</p>
<blockquote>
<p>ich habe mir eben Apache für Win32 runtergeladen (ich habe Win95 b). Nach der Installation<br>
habe ich Apache gestartet und bekam folgende Meldung:</p>
<p>C:\PROGRA~1\APACHE~1\APACHE\APACHE.EXE: cannot determine local hostname.<br>
Use the ServerName directive to set it manually</p>
<p>Was heisst das und was soll ich tun ?</p>
</blockquote>
<p>Steht doch alles da: du sollst den Hostnamen manuell in der Konfiguration eintragen, und zwar über die "ServerName"-Direktive. Alles weitere darüber solltest du theoretisch der Dokumentation entnehmen können, wenn nicht sogar der Beispiel-Konfiguration.</p>
<p>bye, Frank!</p>
https://forum.selfhtml.org/self/1999/aug/16/ich-kriege-apache-nicht-zum-laufen/28221#m28221Felix1999-08-16T22:35:00Z1999-08-16T22:35:00ZIch kriege Apache nicht zum laufen<p>Hallo<br>
Ich bin ein glücklicher User der Apache vor 3 Tagen zum Laufen gebracht hat.</p>
<blockquote>
<p>Use the ServerName directive to set it manually</p>
</blockquote>
<p>Das selbe Stand bei mir auch.<br>
Wenn Du den Server verwendest um Deine Seiten offline anzuschauen (so wie ich) dann solltest Du in dem Apache Konfigurationsfile folgendes eingeben:</p>
<p><-- httpd.conf</p>
<h3></h3><h3>ServerName allows you to set a host name which is sent back to clients for</h3><h3>your server if it's different than the one the program would get (i.e., use</h3><h3>"www" instead of the host's real name).</h3><h3></h3><h3>Note: You cannot just invent host names and hope they work. The name you</h3><h3>define here must be a valid DNS name for your host. If you don't understand</h3><h3>this, ask your network administrator.</h3><h3>If your host doesn't have a registered DNS name, enter its IP address here.</h3><h3>You will have to access it by its address (e.g., http://123.45.67.89/)</h3><h3>anyway, and this will make redirections work in a sensible way.</h3><h3></h3><p>ServerName http://127.0.0.0/</p>
<p>--></p>
<p>Dann kannst Du wenn der Apache läuft im Browser http://localhost eingeben und Deine Seiten werde angezeigt. (natürlich muss Du noch das richtige "DocumentRoot" angeben.)</p>
<p>Viel Spass<br>
Felix</p>