diff options
author | taca <taca> | 2010-07-05 14:39:32 +0000 |
---|---|---|
committer | taca <taca> | 2010-07-05 14:39:32 +0000 |
commit | 62e16e80c8637783851e92489c8a106d1aacc175 (patch) | |
tree | a36b136c8d6a264236c43fd5488903f2bc0a961d /www/contao/files | |
parent | f5cb7c13a7e823b918213ba140e24e501f3b594e (diff) | |
download | pkgsrc-62e16e80c8637783851e92489c8a106d1aacc175.tar.gz |
Importing common framework for contao, successor name of typolight.
Diffstat (limited to 'www/contao/files')
-rw-r--r-- | www/contao/files/README | 24 | ||||
-rw-r--r-- | www/contao/files/contao.conf | 17 |
2 files changed, 41 insertions, 0 deletions
diff --git a/www/contao/files/README b/www/contao/files/README new file mode 100644 index 00000000000..05c60c446d0 --- /dev/null +++ b/www/contao/files/README @@ -0,0 +1,24 @@ +$NetBSD: README,v 1.1.1.1 2010/07/05 14:39:32 taca Exp $ + +1. First, create a database for Contao Open Source CMS. + + # mysqladmin -p -u <administrator> create <dbname>. + +2. Next, create a user for accessing that database. + + # mysql -p -u <administrator> <dbname> + mysql> grant select, insert, update, delete, create, drop, + index, alter, create temporary tables, lock tables on + <dbname>.* to '<dbuser>'@'localhost' + identified by '<dbpass>' ; + +3. Edit ${PKG_SYSCONFDIR}/contao.conf and include from httpd.conf. + + Include ${PKG_SYSCONFDIR}/contao.conf + + Then reload or restart apache. + +4. Start setup from Contao installer. If your setup Contao's + URL as http://www.example.org/, the installer's URL will be + http://www.example.org/contao/install.php. + diff --git a/www/contao/files/contao.conf b/www/contao/files/contao.conf new file mode 100644 index 00000000000..8f8a6c576ea --- /dev/null +++ b/www/contao/files/contao.conf @@ -0,0 +1,17 @@ +# $NetBSD: contao.conf,v 1.1.1.1 2010/07/05 14:39:32 taca Exp $ + +# +# If you set DocumentRoot to "@PREFIX@/@CT_WEBDIR@", +# Set DocuemntRoot of Apache to it. +# If you want to access contao via sub directory, uncomment +# below line. (http://www.example.org/subdir/) +# +#Alias /subdir "@PREFIX@/@CT_WEBDIR@" + +<Directory "@PREFIX@/@CT_WEBDIR@"> + DirectoryIndex index.php index.html + Options Indexes SymLinksIfOwnerMatch FollowSymLinks + AllowOverride All + Order allow,deny + Allow from all +</Directory> |