Issue Details (XML | Word | Printable)

Key: MDL-6843
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Petr Skoda
Reporter: Genner Cerna
Votes: 1
Watchers: 4
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

moodle has some problem working with reverse proxy (squid)

Created: 05/Oct/06 07:15 PM   Updated: 06/Jan/09 06:42 AM
Return to search
Component/s: Lib
Affects Version/s: 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.7, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.9, 1.9.1, 1.9.2
Fix Version/s: 2.0

File Attachments: None
Image Attachments:

1. mdl_border_showing_up_correctly_when_added_protocol_eq_https.png
(17 kB)

2. mdl_lib_weblib_$protocol_https_added.png
(11 kB)

3. mdl_missing_border_with_squid.png
(20 kB)
Environment:
linux box

Issue Links:
Relates
 

Database: Any
Participants: Genner Cerna, Martin Dougiamas, Petr Skoda, Urs Hunkler and Wen Hao Chuang
Security Level: None
Resolved date: 06/Jan/09
Affected Branches: MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
(original) moodle standard and other theme is not working fine in reverse proxy.... tables are not being showned properly, alignment and redirection to http://localhost/my is not working also....

(Wen added/modified) OK if I may I'm reopening this ticket. We had the same issue before, but we found a work-around to make it work. At around line# 293 in /lib/weblib.php, in the function of "qualified_me()", when behind squid, we had to force the $protocol to use https for our setup to work. I guess maybe this (the $protocol) could be set from the site administration level instead of we have to hard-coded this when it's behind squid. I will also be curious about Martin L's solution about making the stock moodle codes to work with squid, do you have to make any changes like we did? (see screenshots). Thanks!

Note: This could be a squid set up issue, and if this is the case it would be really great if someone could document their squid setup/configuration in docs.moodle.org. Thanks!

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
No commits have yet been performed on this issue.