I think I hate MovableType
1st Nov 2005, 14:03:22
MovableType looks pretty, but it seems hard to install on OS X. I wanted to share one MT installation between several domains, which apparently is not allowed. Here's how I did it.
MT unzipped in: /Library/WebServer/mt
$ cd /Library/WebServer
$ mkdir www.cookgoodfood.com
$ chown -R jamen:www mt www.cookgoodfood.com
$ chmod -R g+w mt www.cookgoodfood.com
$ cp -r mt/mt-static www.cookgoodfood.com
$ chmod -R 755 mt
$ cd /Library/WebServer
$ mkdir blog.stocksy.co.uk
$ chown -R jamen:www mt blog.stocksy.co.uk
$ chmod -R g+w mt blog.stocksy.co.uk
$ cp -r mt/mt-static blog.stocksy.co.uk
$ chmod -R 755 mt
For Apache2
$ sudo vi /usr/local/apache2/httpd.conf # Host number 1 <VirtualHost *:80> ServerName www.cookgoodfood.com DocumentRoot /Library/WebServer/www.cookgoodfood.com ScriptAlias /cgi/ /Library/WebServer/mt/ <Files mt.cfg> <Limit GET> deny from all </Limit> </Files> </VirtualHost> # Host number 2 <VirtualHost *:80> ServerName blog.stocksy.co.uk DocumentRoot /Library/WebServer/blog.stocksy.co.uk ScriptAlias /cgi/ /Library/WebServer/mt/ <Files mt.cfg> <Limit GET> deny from all </Limit> </Files> </VirtualHost> $ sudo apachectl graceful
Configure the MT installation - have a MySQL database ready.
$ vi /Library/WebServer/mt/mt-config.cgi
Set CGIPath to /cgi/ and StaticWebPath to /mt-static/
http://www.cookgoodfood.com/cgi/mt-check.cgi
http://www.cookgoodfood.com/cgi/mt-config.cgi
Log in to http://www.cookgoodfood.com/cgi/mt.cgi as Melody/Nelson and create the first blog. If it can't rebuild the site, mess around with permissions, wildly flailing the chmod and chown commands until it works. Set the site root of the first blog to to http://www.cookgoodfood.com/ and the CGI root to http://www.cookgoodfood.com/cgi/