From e250e7f338dfd71eed30a3467970709c890f66e7 Mon Sep 17 00:00:00 2001 From: Rainer Rillke Date: Mon, 9 Dec 2019 00:44:52 +0000 Subject: [PATCH] README: Composer and correct DocumentRoot --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5d6fbff..28ca061 100644 --- a/README.md +++ b/README.md @@ -14,17 +14,21 @@ lib. 1) Clone the repository under a web: -Considering you have a Apache Web Server running with ServerRoot= `/var/www`. +Considering you have a Apache Web Server running with `DocumentRoot /var/www/web`. +Notes: +* The subdirectory named `web` must be served. +* [Composer must be installed](https://getcomposer.org/download/) and in [`$PATH` (UNIX) or `%PATH%` (Windows)](https://getcomposer.org/doc/00-intro.md). ```bash cd /var/www git clone https://github.com/rafaelgou/php-apache2-basic-auth-manager.git +cd php-apache2-basic-auth-manager +composer install ``` 2) Configure the application ```bash -cd php-apache2-basic-auth-manager cp config-dist.yml config.yml chown -R www-data:www-data * ```