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
nano /etc/apache2/sites-available/default
On about line 4, change DocumentRoot "/var/www/html" to
DocumentRoot "/var/www/moodle"
On about line 10, change <Directory "/var/www/html/"> to
<Directory "/var/www/moodle/">
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.
/etc/init.d/apache2 restart========================================
The instructions refer to the following configuration file.
default.conf
This file does not exist, however the file below does.
000-default.conf
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?
Many thanks.