However, changing that value to '$CFG->wwwroot = 'http://*my*.*ip*.*goes*.*here*:80/moodle';" and going to http://*my*.*ip*.*goes*.*here*:80/moodle doesn't. Google Chrome removes the :80 for some reason from the address bar (Firefox doesn't)
and it takes almost a minute to come back with the "Oops!" message, as if the server is not on.
The full httpd error log for the problem can be seen here: http://pastebin.com/WuF1xsD3
The first error from which is:
[autoindex:error] [pid 4396] [client 127.0.0.1:40388] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive, referer: http://localhost/moodle/login/index.php
Why is it then forbidden to serve something to the web that is OK for localhost?
The Linksys WRT54C router using Automatic Configuration DHCP is set as follows:
Port Range
Application Start End Protocol IP Address Enable
Apache httpd 80 to 80 Both 192.168.1.100 Check
Apache Tomcat 8080 to 8080 Both 192.168.1.126 Check
(Both means TCP and UDP)
Taking moodle out of the picture and running strace on http://211.220.31.50/test.html cuases the same error. So it's not a Moodle problem.
netstat -ln | grep 80
tcp6 0 0 :::80 :::* LISTEN
unix 2 [ ACC ] STREAM LISTENING 18068 @/tmp/.ICE-unix/1205
unix 2 [ ACC ] STREAM LISTENING 18069 /tmp/.ICE-unix/1205