mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #03875
[Bug 783282] [NEW] wwwroot generation fails when DOCUMENT_ROOT is empty
Public bug reported:
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/
** Affects: mahara
Importance: Medium
Assignee: François Marier (fmarier)
Status: In Progress
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/783282
Title:
wwwroot generation fails when DOCUMENT_ROOT is empty
Status in Mahara ePortfolio:
In Progress
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/
Follow ups
References