Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

newbie needs some help

Status
Not open for further replies.

baad

Programmer
Apr 10, 2001
1,481
RU
hi guyz, i just started 2 learn perl, here is my very first script:
#!/usr/bin/perl
print "Content-type:text/html\n\n";
print &quot;<html><head><title>Let go!!</title></head>\n&quot;;
print &quot;<body>\n&quot;;
print &quot;blah blah blah\n&quot;;
print &quot;</body></html>\n&quot;;


& here is what i'm gettin :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to
complete your request.


i think it is 'coz i wrongly pointed the #!/usr/bin/perl

what else culd it be?

thunx a lot..
regards, vic
 
got it, its server's prob
i'm usin Apache/1.3.12 Ben-SSL/1.40 Server
& write scripts in dreamweaver; so, it adds cr & lf but i was told that unix needs just lf instead.. so what shuld i do? write everything in hex format? (wooo - spooky..) or may be i just need better ftp client? i use ACEftp, pple say that cuteftp is much better

regards, vic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top