I initially posted in the General Section, but now I think that this is an installation problem.
My server is behind a Redhat firewall. I have Apache using ProxyPass to direct all requests to in the internal server at IP 192.168.x.x. Using the config.php to identify the wwwroot to a proper top level domain and setting for a buggy referer to 'true', my setup went OK. I was able to add courses and instructors. No problem.
The problem occurs when I try to add a course module. When I add an assignment, for example, the source page for adding the assignment reads:
(snipped for brevity)
form name="form" method="post" action="http://192.168.0.1/moodle/course/mod.php
On an internal network, when I click on 'Save changes', I get redirected to the login page. On the Internet, the browser tries to access a non-existant internal IP address with an eventual 'time out' or 'not found'.
I am not sure why the action refers to the inside IP for this instance only. I looked at /course/mod.php, but I don't have much of a clue how to change the settings to get the form to post using '$CFG->wwwroot' configuration.
From what I see, I can try to:
1. change some of the Apache settings to rewrite or redirect the headings.
2. change a configuration in the /course/mod.php file to force the post to use the TLD specified in the wwwroot config. Or use a relative address as in other post commands in the software.
I would really like some help on this as I am at a complete loss and not much of an expert.
Firewall:
Redhat 6.2 w/ Apache/1.3.20
Inside server:
Mandrake 8.2 w/ Apache/1.3.23
PHP Version 4.3.1
Much thanks in advance,
Bill