summaryrefslogtreecommitdiff
path: root/www/contao211
diff options
context:
space:
mode:
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>