Catalystで公開するときにやる作業
% sudo aptitude install apache2-mpm-prefork % sudo aptitude install libapache2-mod-perl2 % sudo cpan Catalyst::Engine::Apache % sudo a2enmod perl % sudo vi /etc/apache2/sites-available/MyApp —————————————————<VirtualHost *:80> ServerName gakko.jpn.com DocumentRoot /var/www/gakko.jpn.com/App PerlOptions +Parent PerlSwitches -I/var/www/gakko.jpn.com/App/lib PerlModule App SetHandler modperl PerlResponseHandler App </VirtualHost>—————————————————
% sudo a2ensite MyApp
% sudo /etc/init.d/apache2 restart