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:
in config.php
$CFG->wwwroot = "http://external_public_name/estudios";
in the frontend web server with Apache 2.2 we have:
in httpd.conf
ProxyPass /estudios http://internal_server_name/moodle
ProxyPassReverse /estudios http://internal_server_name/moodle
When we login into Moodle and go to a course, in the Topic outline screen, for example
http://external_public_name/estudios/course/view.php?id=2
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
<body class="http:-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.
Regards
Rafael
- has been marked as being related by
-
MDL-17754 Session improvements and related rewrites
-
- Closed
-