story time
Today’s lessons:
- To get OS X’s apache to execute cgi scripts in some place other than /Library/WebServer/CGI-Executables, you must not only add the ExecCGI option to the directory in, say, its virutal host entry, you must also uncomment the line
AddHandler cgi-script .cgiin .httpd-conf.Um. That’s the line right beneath the line that says “To use CGI scripts:” *smack*
- CPAN’s Module::Build::Compat must be installed before Image::Size
- If you are using the Entropy mySQL installation for OS X and hoping to get the DBD::mysql perl module working … I found that the DBD module was looking for a dylib in the wrong place. I hacked it by symlinking to the actual file. The magical incantation:
cd /usr/local/mysql/lib
sudo mkdir mysql
cd mysql
sudo ln -s ../libmysqlclient.15.dylib .Please sanity-check that yourself before trying it. I am not responsible if you magically turn your laptop into a brick.
Today’s moral: Movable Type installation is a great way to practice your cursing for a few hours.