wwwroot generation fails when DOCUMENT_ROOT is empty

Bug #783282 reported by François Marier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
François Marier

Bug Description

In my Nginx install, the wwwroot detection fails because $_SERVER['DOCUMENT_ROOT'] isn't set.

My nginx config looks like this:

server {
 listen 443;
 server_name mahara.lynch.wgtn.cat-it.co.nz;

 ssl on;
 ssl_certificate cert.pem;
 ssl_certificate_key cert.pem;

 location / {
  root /home/francois/code/mahara/htdocs;
  index index.php index.html;
 }
}

and the wwwroot generated by Mahara is https://mahara.lynch.wgtn.cat-it.co.nz/ahara/htdocs/

instead of https://mahara.lynch.wgtn.cat-it.co.nz/

Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.