ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


basepath and proxied sites


  • 2006-08-11 14:53:59

    basepath and proxied sites

    Hello,

    I have just installed ATutor 1.5.3.2 for evaluation. It is running behind a proxy, and after an otherwise normal installation process, pages were generated with the IP address of the proxy as the base href (i.e. <base href="http://10.0.0.7/" />). Obviously my browser could not reach this directly. After playing around with UseCanonicalName settings in httpd.conf, etc., I finally changed line 147 of include/lib/constants.inc.php from using HTTP_HOST to using SERVER_NAME. Reading http://us2.php.net/reserved.variables, it would seem that this is a better choice against which to derive the $_base_href variable. Thoughts? Thanks!

    David

  • 2006-08-14 10:39:25

    Re: $_base_path and proxied sites

    Thanks.

    This has been fixed in the next version of ATutor.

  • 2006-08-14 14:12:13

    Re: $_base_path and proxied sites

    Super!

    [reply][b]In reply to:[/b]
    Thanks.

    This has been fixed in the next version of ATutor.
    [op]forums/view.php?fid=7;pid=8624;page=1#8637[/op][/reply]