Reviewed:  https://reviews.mahara.org/140
Committed: 
http://gitorious.org/mahara/mahara/commit/a5887e1c500ad4640934962731ed78e819b58fdd
Submitter: Francois Marier ([email protected])
Branch:    master

commit a5887e1c500ad4640934962731ed78e819b58fdd
Author: Hugh Davenport <[email protected]>
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 <[email protected]>

-- 
You received this bug notification because you are a member of Mahara
Committers, 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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to