Struppi: Perl aktivieren, leider kein Erfolg bisher

Beitrag lesen

Was mir in deiner config auffällt:

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.

127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your

machine always knows itself by this address. If you use Apache strictly for

local testing and development, you may use 127.0.0.1 as the server name.

ServerName testserver.bitworks

Ich hab keine Ahnung, aber du weißt was du da machst?
Bei mir steht:
ServerName 127.0.0.1

Und dort steht pro Aufruf drin:
[Wed Apr 14 09:15:04 2004] [error] (2)No such file or directory: exec of /home/thomas/public_html/perl/hallo_welt.cgi failed
[Wed Apr 14 09:15:04 2004] [error] [client 192.168.101.114] Premature end of script headers: /home/thomas/public_html/perl/h
allo_welt.cgi

du rufst das Skript mit http://localhost/perl/hallo_welt.cgi auf?

Klappt es auch nicht, wenn du die Datei in pl umbenennst?

Ich weiß nun nicht, welche Datei oder welches Verzeichnis der Apache nicht findet.

exec läßt darauf schliessen, das er das Skript nicht ausführen kann. Ich vermute mal er findet den Interpreter nicht (Ich weiß es aber nicht, da ich noch nie mit Linux gearbeitet habe).

Struppi.

0 46

Perl aktivieren

Tom
  • perl
  1. 0
    MudGuard
    1. 0
      Tom
      1. 0
        Tom
        1. 0
          Christoph Schnauß
          1. 0
            Tom
            1. 0
              Philipp Hasenfratz
              1. 0
                Tom
                1. 0
                  Struppi
                  1. 0
                    Tom
                2. 0
                  Cheatah
                3. 0
                  Philipp Hasenfratz
                  1. 0
                    Tom
                    1. 0
                      Philipp Hasenfratz
                      1. 0
                        Philipp Hasenfratz
                      2. 0
                        Philipp Hasenfratz
            2. 0
              Christoph Schnauß
              1. 0
                Tom
      2. 0
        Christoph Schnauß
  2. 0
    Cheatah
  3. 0

    Perl aktivieren, leider kein Erfolg bisher

    Tom
    1. 0
      Struppi
      1. 0
        Tom
        1. 0
          Struppi
          1. 0
            MudGuard
            1. 0
              Tom
              1. 0
                MudGuard
                1. 0
                  Tom
  4. 0

    Perl aktivieren, dritter Tag ohne Erfolg. So ein SCHEISS

    Tom
    1. 0
      MudGuard
      1. 0
        Tom
        1. 0
          Struppi
          1. 0
            Tom
    2. 0
      Sven Rautenberg
      1. 0
        Tom
      2. 0
        Tom
      3. 0

        Perl vierter Tag. So ein SCHEISS! Gibt es eine perl.ini?

        Tom
        1. 0
          Sven Rautenberg
          1. 0
            Tom
            1. 0
              Sven Rautenberg
              1. 0
                Tom
                1. 0
                  Sven Rautenberg
                  1. 0
                    Sven Rautenberg
                    1. 0
                      Tom
                      1. 0

                        Perl: na endlich. Doofen Fehler gefunden.

                        Tom
                      2. 0
                        Struppi