From 935c1325f68fe57cda418ab6c69689d973dc04fe Mon Sep 17 00:00:00 2001 From: Christine Rogers Date: Thu, 19 Nov 2015 13:06:33 -0500 Subject: [PATCH 1/2] Adding notes to Apache section of CentOS installation Readme --- README.CentOS6.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.CentOS6.md b/README.CentOS6.md index 154112b4829..667b86a3770 100644 --- a/README.CentOS6.md +++ b/README.CentOS6.md @@ -84,11 +84,13 @@ just configured with an appropriate user. ## 1.3 Apache -A sample apache configuration file is in `docs/config/apache2-site.conf`. -You can copy this file to `/etc/httpd/conf.d` and update the paths and -settings as appropriate for your server. Ensure that the DocumentRoot -is pointing to the htdocs/ directory under your LORIS root (usually -`/var/www/loris/htdocs`) +A sample apache configuration file is in `docs/config/apache2-site`. You can copy this file the apache configuration directory, adding the appropriate suffix: + +```bash +cp docs/config/apache-site /etc/httpd/conf.d/apache-site.conf +``` + +Update the paths and settings in this new file as appropriate for your server, ensuring that all placeholders (`%LORISROOT%`, `%PROJECTNAME%`, `%LOGDIRECTORY%`) are populated. Ensure that the DocumentRoot is pointing to the htdocs/ directory under your LORIS root (usually `/var/www/loris/htdocs`). You'll have to create a `smarty/templates_c/` directory under the LORIS root and assure that it's writable by Apache. From 4e915db64254d2d9b38d2e9d7c22b0d6294b6f61 Mon Sep 17 00:00:00 2001 From: Christine Rogers Date: Thu, 19 Nov 2015 13:11:53 -0500 Subject: [PATCH 2/2] updating a few words --- README.CentOS6.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.CentOS6.md b/README.CentOS6.md index 667b86a3770..f070fd7671d 100644 --- a/README.CentOS6.md +++ b/README.CentOS6.md @@ -84,7 +84,8 @@ just configured with an appropriate user. ## 1.3 Apache -A sample apache configuration file is in `docs/config/apache2-site`. You can copy this file the apache configuration directory, adding the appropriate suffix: +A sample apache configuration file is in `docs/config/apache2-site`. +You can copy this file to the apache configuration directory (`/etc/httpd/conf.d/`), adding the appropriate suffix: ```bash cp docs/config/apache-site /etc/httpd/conf.d/apache-site.conf