The link for line 40 is correct, it points to phpbbgui.php as intended.
It must be server side, though I have no redirects set up.
I will get with the server host to find out if this is the case, possibly because the file name begins with php?
In the meantime, I have used the settings within phpbbgui manually by pointing my browser directly to the file.
Should I be ready to start accepting users?
(I will post here if the problem was with my host)