summaryrefslogtreecommitdiff
path: root/www/contao211
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2013-06-27 15:48:29 +0000
committertaca <taca@pkgsrc.org>2013-06-27 15:48:29 +0000
commitd5343d594db76929ea22ee1293179dc2c704e4ce (patch)
tree733582338e1e812305f358085f96b4efe611d1bd /www/contao211
parente93165af894215b7e53d78d01305d4e39fffe9b4 (diff)
downloadpkgsrc-d5343d594db76929ea22ee1293179dc2c704e4ce.tar.gz
* Make contao211 to use own FILESDIR.
* A small clean up to common/Makefile.common. No functional change.
Diffstat (limited to 'www/contao211')
-rw-r--r--www/contao211/files/README24
-rw-r--r--www/contao211/files/contao.conf17
2 files changed, 41 insertions, 0 deletions
diff --git a/www/contao211/files/README b/www/contao211/files/README
new file mode 100644
index 00000000000..199fc8fda6a
--- /dev/null
+++ b/www/contao211/files/README
@@ -0,0 +1,24 @@
+$NetBSD: README,v 1.1 2013/06/27 15:48:29 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/contao211/files/contao.conf b/www/contao211/files/contao.conf
new file mode 100644
index 00000000000..2d4f6a37a50
--- /dev/null
+++ b/www/contao211/files/contao.conf
@@ -0,0 +1,17 @@
+# $NetBSD: contao.conf,v 1.1 2013/06/27 15:48:29 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>