use lib qw( /Library/WebServer/coruzziLab/lib ); # Preload your entire application PerlModule coruzziLab ServerName coruzzilab.bio.nyu.edu DocumentRoot /Library/WebServer/coruzziLab/root SetHandler perl-script PerlHandler coruzziLab # you can also run your app in any non-root location # # SetHandler perl-script # PerlHandler coruzziLab # # Make sure to let Apache handle your static files # (And remember to remove the Static::Simple plugin in production) SetHandler default-handler