I'm trying to get perl running under on my Apache 2 macports install. I'm hoping an experienced perl geek can help me out. I've...
- Got Apache running just dandy. Macports installed it with perl5 placeholder and perl5.8.9.
- Installed mod_perl2.
- Run the script to configure httpd.conf.
- Restarted apache.
Written the following test script in htdocs
#!/opt/local/bin/perl print "content-type: text/html \n\n"; print 'Hello world.';
All I get is the script contents printed out to the screen. Am I missing a step? Is there some additional configuration I need to do in the .conf file?