Hi all, in Zend Framework this is nicely fixed using a realpath(__FILE__) in the index, and working from there on.
Tim Brouckaert - Como t...@comoweb.be Op 25-sep-2010, om 11:29 heeft Hans De Bisschop het volgende geschreven: > Yannick, > > Thanks for the note ... it's something we really, REALLY need to fix for 2.0. > The limitation has been causing me a lot of grief (to say the least) when > trying to (in an uncomplicated way) make the platform available via both HTTP > and HTTPS. (Which is kind of a problem if all URLs are rendered as HTTP by > default) > > So again: thanks for bringing this to our attention again. > > Best regards, > > Hans > > On 25/09/2010 4:59, Yannick Warnier wrote: >> Hi all, >> >> Just now I was having another problem related to this long-term >> structural mistake somebody did at the beginning of Claroline (probably >> because he was too lazy to do it correctly). >> >> Anyway, in Chamilo 1.*, we have a root_url parameter set in the >> configuration file, that basically forces the portal to answer on one >> specific URL only. >> >> This was probably added as a way to avoid the necessary work of making >> all URLs in the application relative to the root directory. However, >> this has a series of bad consequences (most of which we have fought to >> fix over time). >> >> The most important and negative consequence is that you can't use it >> with >> http://192.168.1.45 *and* http://my.chamilo.net >> at the same time, >> although these two names go to the same computer. >> This prevents the possibility to quickly deploy an existing demo portal >> in a classroom, for example, because you would have to have the same IP >> or you would have to define the name on each computer of the classroom. >> >> So this note is just to say: please avoid it in 2.0! (make it the drupal >> way). >> >> Rgds, >> >> Yannick >> >> >> _______________________________________________ >> Dev mailing list >> >> Dev@lists.chamilo.org >> http://lists.chamilo.org/listinfo/dev > _______________________________________________ > Dev mailing list > Dev@lists.chamilo.org > http://lists.chamilo.org/listinfo/dev _______________________________________________ Dev mailing list Dev@lists.chamilo.org http://lists.chamilo.org/listinfo/dev