Announcement

Collapse
No announcement yet.

Apache server

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Apache server

    Hi,
    I,ve just installed Apache sever 2.2 and got it running.
    I cannot conect to it with my IE at all normally using
    http://localhost or
    http://127.0.0.1

    I have the following message in my error log but dont know how to correct it:

    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.2.6 for ServerName.

    All help most wellcome

    Wayne

  • #2
    Würde ich mal in der http.conf unter den virt. Servern die Einstellungen kontrollieren. Des Weiteren in der hosts-Datei unter Windows nachsehen, ob dort localhost auf 127.0.01 gemappt wird
    Christian

    Comment


    • #3
      how do I check the host Datei.

      Comment


      • #4
        Sie sollte so aussehen:

        # Copyright (c) 1993-1999 Microsoft Corp.
        #
        # Dies ist eine HOSTS-Beispieldatei, die von Microsoft TCP/IP
        # für Windows 2000 verwendet wird.
        #
        # Diese Datei enthält die Zuordnungen der IP-Adressen zu Hostnamen.
        # Jeder Eintrag muss in einer eigenen Zeile stehen. Die IP-
        # Adresse sollte in der ersten Spalte gefolgt vom zugehörigen
        # Hostnamen stehen.
        # Die IP-Adresse und der Hostname müssen durch mindestens ein
        # Leerzeichen getrennt sein.
        #
        # Zusätzliche Kommentare (so wie in dieser Datei) können in
        # einzelnen Zeilen oder hinter dem Computernamen eingefügt werden,
        # aber müssen mit dem Zeichen '#' eingegeben werden.
        #
        # Zum Beispiel:
        #
        # 102.54.94.97 rhino.acme.com # Quellserver
        # 38.25.63.10 x.acme.com # x-Clienthost
        127.0.0.1 localhost
        Christian

        Comment


        • #5
          Thanks but where di I find this?

          Comment


          • #6
            Keine Suchfunktion??

            C:\WINDOWS\system32\drivers\etc
            Christian

            Comment


            • #7
              Hi,
              There must be thousands of data in their, which one?
              I’m still having problems with Apache server 2.2 on XP.
              The server starts the service with no problems.
              I get Syntax ok when I test the server configuration.
              But in IE I keep getting the message ‘The page cannot be found’
              In the conf. file I have:
              Listen 127.0.0.1:8080 and
              ServerName 127.0.0.1:8080

              I’ve looked through the web many having the same problem but no answers.
              Any one here can help?

              Wayne

              Comment


              • #8
                Hello,

                if the DocumentRoot correct specified in httpd.conf?
                Exists a index.html file in dies folder?

                An 404 - page cannot be found error implies your server could be found but no document is present.

                Falk
                Wenn du denkst du hast alle Bugs gefunden, dann ist das ein Bug in deiner Denksoftware.

                Quellcode ohne ein Mindestmaß an Formatierung sehe ich mir nicht an! Ich leiste keinen Privatsupport per Mail oder PN!

                Comment


                • #9
                  Hi,
                  this is the root from my httpd.conf.

                  DocumentRoot "C:/Programme/Apache Software Foundation/Apache2.2/htdocs"

                  And yes I do get the 404 error but there is the index.html there 'It works!' but I cannot access it with localhost.

                  Using the full route
                  C:\Programme\Apache Software Foundation\Apache2.2\htdocs\index.html
                  I get the web page but this is not the correct way to do it.

                  Mayb be its a setting in the explorer!

                  Wayne

                  Comment


                  • #10
                    Hi Wayne,

                    can you access this with the full ip and port - http://127.0.0.1:8080/ ?
                    If there any access restrictions to the path and/or the document?
                    Zuletzt editiert von Falk Prüfer; 28.07.2009, 17:40.
                    Wenn du denkst du hast alle Bugs gefunden, dann ist das ein Bug in deiner Denksoftware.

                    Quellcode ohne ein Mindestmaß an Formatierung sehe ich mir nicht an! Ich leiste keinen Privatsupport per Mail oder PN!

                    Comment


                    • #11
                      Hi,
                      YES that works, wow, 8 hours of playing around at at last it works some what.

                      Is that the way it should work?

                      Comment


                      • #12
                        There must be thousands of data in their, which one?
                        Aber wohl nur eine, die hosts heisst!!
                        Christian

                        Comment


                        • #13
                          Hi,

                          the default port for http is port 80. Your configuration uses explicitly port 8080 wich is normaly used for https!
                          Wenn du denkst du hast alle Bugs gefunden, dann ist das ein Bug in deiner Denksoftware.

                          Quellcode ohne ein Mindestmaß an Formatierung sehe ich mir nicht an! Ich leiste keinen Privatsupport per Mail oder PN!

                          Comment


                          • #14
                            HTTPS ist üblicherweise 443
                            Christian

                            Comment


                            • #15
                              Originally posted by Christian Marquardt View Post
                              HTTPS ist üblicherweise 443
                              Ja, du hast Recht, war ein Schnellschuß . Der Port 8080 wird üblicherweise für HTTP-Proxys verwendet.

                              Gruß Falk
                              Wenn du denkst du hast alle Bugs gefunden, dann ist das ein Bug in deiner Denksoftware.

                              Quellcode ohne ein Mindestmaß an Formatierung sehe ich mir nicht an! Ich leiste keinen Privatsupport per Mail oder PN!

                              Comment

                              Working...
                              X