Yeah, the webwork2 and pg files are located in /opt/webwork.
Upon running, /etc/apache2/sites-available$ ls
I get: 000-default.conf default-ssl.conf webwork.conf webwork.conf.save
Upon running, /etc/apache2$ ls
I get:
apache2.conf conf-enabled mods-available sites-available
apache2.conf.bak envvars mods-enabled sites-enabled
conf-available magic ports.conf
Upon running, /etc/apache2/conf-enabled$ ls
I get:
charset.conf other-vhosts-access-log.conf webwork2.conf
javascript-common.conf security.conf
localized-error-pages.conf serve-cgi-bin.conf
And upon running, /opt/webwork/webwork2/conf/webwork2.apache2.4.conf
I got the file with contents as attached in the picture. And there is no DocumentRoot directive present.
Upon running /var/www/html$ ls -l
I found:
-rwxr-xr-x 1 www-data www-data 286 Feb 4 17:40 favicon.ico
-rwxr-xr-x 1 www-data www-data 10671 Jan 31 21:09 index.html
-rwxr-xr-x 1 www-data www-data 615 Feb 12 22:41 index.nginx-debian.html
drwxr-xr-x 6 root root 4096 Feb 12 23:41 simple-app
drwxr-xr-x 22 root root 4096 Feb 12 23:54 webwork
drwxr-xr-x 17 root root 4096 Feb 13 00:08 webwork2
And so I removed both webwork and webwork2. Also, the other simple-app that I put while trying to troubleshoot to see if the server can connect to it which it does. So after removing them, I restarted the apache2, and I still am getting "page not found". However, I feel that a simple change can make it work, but I don't know exactly what change to make. Do you think there might be a setting adjustment needed in the AWS instance?