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