apaah mod_perl dibutuhkan untuk jalanin script perl


Status
Not open for further replies.

am3n

Apprentice 1.0
oh begitu ya.. tapi kenapa masih error "500 internal server error" walaupun filenya sudah di chmod 755 dan ada di folder cgi-bin

lalu mod_perl buat apa ya ?
curious mode on
 

jr-webhost

Apprentice 2.0
Bahas lebih detail donk !!!
Aku lagi nyimak juga ne :)
 

am3n

Apprentice 1.0
Coba upload ulang file perlnya pakai ASCII mode...

saya bikin file perl nya lsg dari "Legacy File manager" di cpanel , buka folder cgi-bin, pilih create new file, baru deh di edit, dan di change permission.

btw mas di server gresshost apakah bisa tampilin hello world dengan script berikut

Code:
#!/usr/bin/perl
#
# Program to do the obvious
#
print 'Hello world.';		# Print a message
 

am3n

Apprentice 1.0
^ makasih bisa tuh tampil hello world nya
ternyata klo baris ini tidak ada bisa bikin "500 internal server error"

Code:
print "content-type: text/html \n\n";

buat apa ya itu baris? :confused:

gugling taim
 
Status
Not open for further replies.

Top