I'm attempting to install a Moodle instance, version 3.5.4+ on Raspbian according to Moodle instructions.
I am stuck at the following step:
Step 6: Change Apache to use Moodle as the web site.
Note that the server comes with Apache running and looking at the /var/www directory. But there is nothing in that folder, so one just gets a redirect. Edit as follows to have it point at Moodle instead:
gedit /etc/apache2/sites-available/default or
On about line 4, change DocumentRoot "/var/www/html" to
On about line 10, change <Directory "/var/www/html/"> to
Around line 17, comment out the line for the default page:
# RedirectMatch ^/$ /apache2-default/
You can change other values like ServerAdmin if appropriate. For all changes, you should restart Apache for the new settings to take effect.
The instructions refer to the following configuration file.
This file does not exist, however the file below does.
The line changes in the instructions above are therefore not applicable to this particular configuration file.
Any ideas how this step could be successfully completed?