Drupal Setup

I now seem to have got Drupal working for my site. I am putting this post with some details of the more complex stuff up to help others set up the site (and also as a test post)!

I am administering my site using sitecopy - I installed the Ubuntu package on my system, and set it up like this:

site amxl
     server ftp.amxl.com
     remote /
     local /home/andrew/Documents/amxl_com
     username secret
     password secret
     exclude /.spamassassin/*
     exclude /.cpaddons/*
     exclude /tmp/*
     exclude /.cpanel/*
     exclude /.cpanel-datastore/*
     exclude /logs/*
     exclude /mail/*
     exclude *~
     permissions all
     permissions dir

I decided to install Drupal in a subdirectory. This is because in the past I have difficulty upgrading the old Joomla site because I didn't want to copy files over the old installation. Now I can simply do a new fresh installation in another directory. Once I set up Joomla, I did the following in .htaccess of the toplevel site to redirect the toplevel of the site into Joomla...

  RewriteRule ^misc/(.*)$ /drupal-6.8/misc/$1 [L,QSA]
  RewriteRule ^sites/default/(.*)$ /drupal-6.8/sites/default/$1 [L,QSA]

  RewriteRule ^$ /drupal-6.8/index.php [L,QSA]

  # Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI} !=/favicon.ico
  RewriteRule ^(.*)$ /drupal-6.8/index.php?q=$1 [L,QSA]

All in all, it seems to look pretty good with the new site, and should hopefully be a lot easier to update than the previous Joomla installation, and with a better collection of modules.

Just a note: I decided not to migrate the old content from the Joomla site just because it was so out of date that it wasn't likely to be very much use to anyone. If anyone does want a copy of the old site, I have archived the documents, or alternatively, you could get it from http://web.archive.org