|
|
|
Issue Links:
|
Relates
|
|
|
|
This issue has been marked as being related by:
|
|
|
MDL-17754 Session improvements and related rewrites
|
|
|
|
|
|
|
| Participants: |
Petr Skoda
|
| Security Level: |
None
|
| Resolved date: |
06/Jan/09
|
| Affected Branches: |
MOODLE_20_STABLE
|
| Fixed Branches: |
MOODLE_20_STABLE
|
|
The major problems here are:
* reverse proxies
* SSL accelerators
$FULLME - should always contain full url starting with wwwroot (and https: if https enabled) including page parameters and slasharguments
$ME - like FULLME but without the query part
$SCRIPT - relative me, like ME without wwwroot - ex: "/course/view.php", "/admin/cron.php"
the cron should stop using FULLME == 'cron' and instead use $SCRIPT == "/$CFG->admin/cron.php"
-------
This is just the first step towards reversed proxy and SSL accel support ;-)
This will also help with detection of incorrect access addresses.
|
|
Description
|
The major problems here are:
* reverse proxies
* SSL accelerators
$FULLME - should always contain full url starting with wwwroot (and https: if https enabled) including page parameters and slasharguments
$ME - like FULLME but without the query part
$SCRIPT - relative me, like ME without wwwroot - ex: "/course/view.php", "/admin/cron.php"
the cron should stop using FULLME == 'cron' and instead use $SCRIPT == "/$CFG->admin/cron.php"
-------
This is just the first step towards reversed proxy and SSL accel support ;-)
This will also help with detection of incorrect access addresses. |
Show » |
committed 29 files to 'Moodle CVS' - 06/Jan/09 06:37 AM
MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support
|
|
|
committed 1 file to 'Moodle CVS' - 06/Jan/09 07:32 AM
committed 1 file to 'Moodle CVS' - 06/Jan/09 07:46 AM
MDL-17777 slasharguments test not reimplemented yet :-(
|
|
|
committed 1 file to 'Moodle CVS' - 06/Jan/09 09:33 PM
MDL-17777 fixed request string encoding in ISS
|
|
|
martignoni committed 1 file to 'Lang CVS' - 11/Jan/09 05:33 PM
|