diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2006-01-10 04:03:43 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2006-01-10 04:03:43 +0000 |
commit | 34e8cee99aca22de171dae9e842504f3e7165ae5 (patch) | |
tree | 66cca6415c61025819c59ad27d5426ecdad48bab /www/drupal4/files | |
parent | d57ad7a668ef05da2d1e41a921b4f4b6307e106c (diff) | |
download | ports-34e8cee99aca22de171dae9e842504f3e7165ae5.tar.gz ports-34e8cee99aca22de171dae9e842504f3e7165ae5.zip |
Notes
Diffstat (limited to 'www/drupal4/files')
-rw-r--r-- | www/drupal4/files/pkg-message.in | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/www/drupal4/files/pkg-message.in b/www/drupal4/files/pkg-message.in new file mode 100644 index 000000000000..10d65e2c1fea --- /dev/null +++ b/www/drupal4/files/pkg-message.in @@ -0,0 +1,27 @@ +You now need to create the DB where Drupal is going to live + + PostgreSQL:: + createdb -U pgsql -W drupal + createuser -U pgsql -P -e drupal + createlang -U pgsql -W plpgsql drupal + psql -U drupal drupal < %%PREFIX%%/%%DRUPDIR%%/database/database.pgsql + + MySQL:: + mysqladmin -u dba_user -p create drupal + mysql -u dba_user -p + GRANT ALL PRIVILEGES ON drupal.* TO drupal@localhost IDENTIFIED BY 'passwd'; + mysql -u drupal -p drupal < %%PREFIX%%/%%DRUPDIR%%/database/database.mysql" + +Then edit the %%PREFIX%%/%%DRUPDIR%%/sites/default/settings.php +to your needs. Once you have done that you must add appropriate +configuration directives to your apache configuration file +(%%PREFIX%%/etc/apache(2)/httpd.conf). A typical configuration would be: + + Alias /drupal "%%PREFIX%%/%%DRUPDIR%%" + + <Directory "%%PREFIX%%/%%DRUPDIR%%"> + Options Indexes FollowSymlinks MultiViews + AllowOverride None + Order allow,deny + Allow from all + </Directory> |