At 2:00 PM -0500 6/8/00, Bert Altenburg wrote: >#!/usr/local/bin/perl >print "Content-type: text/html\n\n"; >print "It works!"; > >it doesn't work. Anything wrong with it? > >(I've set all folders and the file made executable (using Anarchie). >The URL I used is exactly as my ISP says (and they don't give support)) The path to the perl interpreter on my server is different than what you have; once I changed that, the above CGI worked fine for me. (I used /usr/bin/perl.) 1) Do you have shell access to the server? Can you try executing the script from the command line? 2) Do you have access to the error logs of the web server? That's where the error message would be sent. 3) Check the path to the perl interpreter and the ownership and permissions of the cgi. Remember, the web server will not run as you, so it needs different ownership/permission to execute the CGI. 4) Make sure that the directory in which you have the CGI is one in which CGI execution is allowed. Just because you can serve HTML from that directory doesn't mean you can execute a CGI from it. I have been fairly concise; please ask if you'd like me to expand on any of the above. Best of luck! -David Steffen- David Steffen, Ph.D. President, Biomedical Computing, Inc. <http://www.biomedcomp.com/> Phone: (713) 610-9770 FAX: (713) 610-9769 E-mail: steffen@biomedcomp.com ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org