Supportnet / Forum / Webseiten/HTML
Installation eines CGI-Script
Frage
Hallo,
ich bin was "cgi" angeht ein Newbie!
Bei portland.co.uk habe ich Speicherplatz mit cgi Unterstützung und möchte dort zum ausprobieren das folgende Freie CGI-Script installieren.
Die Daten die ich via Mail des Providers bekommen habe sind folgende.
To use cgi, create a cgi-bin in your home directory. Upload .cgi and .pl files into that folder. Remember that they must be made executable before they will work.
Some cgi\'s need a full path name to work. Add /home/username to the path name.
perl version 5 = /usr/local/bin/perl
sendmail = /usr/lib/sendmail
--
und das Script sieht so aus:
Kann nicht gepostet werden ?!
Ich bekomme aber nach aufruf der Seite http://pr123.port5.com ständig diese Fehlermeldung:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@portland.co.uk and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Könnte mir jemand einen Tipp geben?
Danke an alle, Gruß Peter
Antwort 1 von P.R.123
PS. da ich das Script nicht posten konnte
hier die URL http://pr123.port5.com/1.html
das möchte ich gerne ans laufen bekommen.
Danke noch mal
hier die URL http://pr123.port5.com/1.html
das möchte ich gerne ans laufen bekommen.
Danke noch mal
Antwort 2 von Dr.Ma-Busen
Hallo P.R.123
Hast du das Script im ASCII Modus hochgeladen oder im BINARY Modus?
Hast du das Script im ASCII Modus hochgeladen oder im BINARY Modus?
Antwort 3 von Nessus
Hi,
1. Stimmen die Pfade?
2. ASCII-Mode Upload
3. Chmod 755 (Ausführbar machen)
4. liegt die Datei "datenn.txt im gleichen Verzeichnis, notfalls mit der Berechtigung 777
HTH
Nessus
1. Stimmen die Pfade?
2. ASCII-Mode Upload
3. Chmod 755 (Ausführbar machen)
4. liegt die Datei "datenn.txt im gleichen Verzeichnis, notfalls mit der Berechtigung 777
HTH
Nessus

