[NTG-context] Invoking ConTeXt from inside php web appliction
pavneet_arora at waroc.com
Fri Jun 17 16:57:27 CEST 2016
Ah, we were thinking along the same lines! ;)
I had just initiated a local install inside .../www/public when I
received your email, which is in fact the DocumentRoot for this website,
$ chmod -R www-data:www-data context
So ConTeXt is installed in .../www/public/context.
Now I can source:
$ . .../www/public/context/tex/setuptex .../www/public/context/tex
and it all works.
Many thanks, Luigi, for all of your suggestions.
On 17Jun16, luigi scarso wrote:
> (off list)
> On Fri, Jun 17, 2016 at 3:39 PM, Pavneet Arora <pavneet_arora at waroc.com>
> > That is really the crux of the issue, since www-data does *not* have a
> > login shell. It is used only by apache.
> > Can setuptex be made to point to the home directory explicitly where the
> > website is housed, e.g., '/home/wwwuser' with user 'wwwuser'?
> Is it an option to make a context installation only for apache ?
> I mean a context that is owned by www-data (if this is the apache user),
> into a folder readable by apache.
Pavneet Arora m: +1 (647) 406-6843
Waroc Informatik t: +1 (416) 937-9276
More information about the ntg-context