We use moodle behind an Apache web server configured with mod_proxy and we get error in some elements (links, styles, ...) in some pages.
The internal and external name of the published application is not the same so we have the following configuration:
in the backend web server with Moodle 1.6.4 and Apache 2.0 we have:
$CFG->wwwroot = "http://external_public_name/estudios";
When we login into Moodle and go to a course, in the Topic outline screen, for example
the central block styles are not aplied.
The reason is that body class is not well formed.
If we see the source code of the generated page we see over line 65
internal_servere_namecourse course-2" id="http:-internal_server_namecourse-view">
I supose the correct one must be <body class="course course-2" id="course-view">
This is only one error, we have detected more of the same type in the docs link in the footer of pages and in the nav bar of archives page.
We have already tested it in Moodle 1.7 and 1.8 and the same errors ocurred.