Dear all,
Saya ada masalah begini. Saya ada script perl/cgi, cuman sebuah script
test aja. Isinya

#!/usr/bin/perl
print "Content-type:text/html\n\n";
Print "Test";

Kalo di prompt: perl coba.pl 
Jalan gak ada masalah

Tapi kalo di taruh ke /var/www/html, tidak bisa jalan dari browser.
Di log apache -> premature end of script header
Catatan: 
- Permission udah set jadi 755
- Directory /var/www/html dah ditambahin option ExecCGI

Tapi,
Kalo di script perlnya shebangnya diganti menjadi 
#!/usr/bin/perl -w

Jalan tuh. Kenapa tuh ya?

Mohon bantuannya :)
Thanks

Hengky


CONFIDENTIALITY STATEMENT:

This email and any attachment herein contains strictly confidential information. The 
same are intended only for the named Recipient(s) as above mentioned . In the event 
you are not named as a Recipient, we ask that you inform us of this immediately. Do 
not disseminate anything herein and please delete this message and any attachment in 
its entirety from any system you may have control over.




-- 
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip dan info di http://linux.or.id/milis.php
FAQ milis http://linux.or.id/faq.php

Kirim email ke