in reply to A very beginner problem

Looks like you forgot the content type header, which Apache needs to be able to send to the client browser. Change the script to this:
#!/usr/bin/perl print "Content-Type: text/plain\n\n"; print "Hello, world!\n";

Replies are listed 'Best First'.
Re: Re: A very beginner problem
by trs80 (Priest) on Feb 11, 2002 at 23:40 UTC
    LukeyBoy is right and I would like to expand on what he said. When sending information via a web server the server has to know what kind of content is being sent and verifies that the outgoing content has the correct header on it. In the case of static .htm(l) it adds the correct header for you since it has the correct mime mapping and the content is not being processed by a forgein handler. So adding the line that LukeyBoy specified tells apache that the content is HTML and should solve your Internal Server Error problem.