I just installed OSX and updated to 10.1. I started Apache and everything works great. Tried the test.cgi on Apple's page (http://www.apple.com/creative/webpro/technology/terminal/index2.html), still good - worked fine. Created a very simple perl script, doesn't work:
#!/usr/bin/perl
print "hello";
Dumped the file 'test.pl' into the CGI_Executables folder, chmod 755 test.pl. Any ideas on why it's not working?
Same goes for php - created simple file that has phpinfo command, dumped into the Documents folder under Webserver...Uncommented lines in Apache httpd.conf, restarted apache, and IE prompts me with the mime type problem of "don't know what to do with this file...Download it?"
Any ideas would be greatly appreciated. Thanks,
#!/usr/bin/perl
print "hello";
Dumped the file 'test.pl' into the CGI_Executables folder, chmod 755 test.pl. Any ideas on why it's not working?
Same goes for php - created simple file that has phpinfo command, dumped into the Documents folder under Webserver...Uncommented lines in Apache httpd.conf, restarted apache, and IE prompts me with the mime type problem of "don't know what to do with this file...Download it?"
Any ideas would be greatly appreciated. Thanks,