mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #04325
[Bug 780237] A change has been merged
Reviewed: https://reviews.mahara.org/140
Committed: http://gitorious.org/mahara/mahara/commit/a5887e1c500ad4640934962731ed78e819b58fdd
Submitter: Francois Marier (francois@xxxxxxxxxxxxxxx)
Branch: master
commit a5887e1c500ad4640934962731ed78e819b58fdd
Author: Hugh Davenport <hugh@xxxxxxxxxxxxxxx>
Date: Wed May 11 14:12:05 2011 +1200
Fix autogen of wwwroot to detect symbolic links correctly
Test by appending each directory in PHP_SELF to DOCUMENT_ROOT
when the realpath of that is the same as dirname(__FILE__) then
stop processing.
For most users there is little performance hit, only a few will
have more than say two levels above DOCUMENT_ROOT
If nothing can be autoconfigured, use a default of root (ie no
path)
Bug #780237
Change-Id: I60339a180ac043ab0b89c3a49ff5f2485112f567
Signed-off-by: Hugh Davenport <hugh@xxxxxxxxxxxxxxx>
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/780237
Title:
autogen of wwwroot doesn't work when htdocs is linked to www directory
Status in Mahara ePortfolio:
Fix Committed
Bug description:
In my situation, I have a git directory containing the mahara files.
Instead of editing apache configs to make a site I just linked it (ln
-s) to the /var/www directory.
my git directory is /home/hugh/src/mahara/mahara
the htdocs directory is linked to /var/www/mahara
the autogen of wwwroot is http://localhost/gh/src/mahara/mahara/htdocs
Cheers,
Hugh
References