To enable a decent configuration of drupal, please create a symbolic
link from /var/www/conf/modules.sample/drupal6.conf
to /var/www/conf/modules/drupal6.conf

ln -s /var/www/conf/modules.sample/drupal6.conf \
	/var/www/conf/modules

In order to run with standard OpenBSD chroot'ed httpd:

- make sure you can connect to your database.

Create a directory for the mysql socket.

	mkdir -p /var/www/var/run/mysql

Adjust /etc/my.cnf to put the mysql socket into the chroot.

	[client]
	socket = /var/www/var/run/mysql/mysql.sock

	[mysqld]
	socket = /var/www/var/run/mysql/mysql.sock

- file uploads require a tmp directory writable by www.
.e.g., with the default php setup:

	mkdir -p /var/www/tmp
	chown www /var/www/tmp

Don't forget to set the character set to utf8 in your database.

In mysql, assuming you're connected as admin initially.

create user drupal@localhost identified by 'password';
create database drupal character set utf8;
grant all on drupal.* to drupal@localhost;

In postgresql, assuming an `admin' account has all rights:

createuser -U admin --pwprompt --no-superuser --createdb --no-createrole drupal
createdb -U drupal -E UTF8 drupal
