Felix: Ich kriege Apache nicht zum laufen

Beitrag lesen

Hallo
Ich bin ein glücklicher User der Apache vor 3 Tagen zum Laufen gebracht hat.

Use the ServerName directive to set it manually

Das selbe Stand bei mir auch.
Wenn Du den Server verwendest um Deine Seiten offline anzuschauen (so wie ich) dann solltest Du in dem Apache Konfigurationsfile folgendes eingeben:

<-- httpd.conf

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., http://123.45.67.89/)

anyway, and this will make redirections work in a sensible way.

ServerName http://127.0.0.0/

-->

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.)

Viel Spass
  Felix