Thread Geo::IP::PurePerl install (7 answers)
Opened by Carioca at 2014-09-05 20:57

rosti
 2014-09-05 22:12
#177108 #177108
User since
2011-03-19
3194 Artikel
BenutzerIn
[Homepage]
user image
dann mach erstmal ein 'Hallo Welt' Programm:

Code (perl): (dl )
1
2
3
#!/usr/bin/perl

print "Content-Type: text/plain\n\n   Hallo Welt  ";


Das Script in Datei hallowelt.cgi im UNIX-Format speichern und mit FTP zum Server ins /cgi-bin/ transferieren. Falls Dein Editor nicht im UNIX-Format speichern kann, mache sicherheitshalber ein FTP im ASCII-Modus.

Mit dem FTP-Programm setze bei owner, group und other das "Ausführen + Lesen" bei Owner auch das "Schreiben".

Dann rufe das Script mit dem Browser auf als URL: http://example.com/cgi-bin/hallowelt.cgi

tuts?
Last edited: 2014-09-05 22:13:20 +0200 (CEST)

View full thread Geo::IP::PurePerl install