From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95385 Path: news.gmane.org!not-for-mail From: Pavneet Arora Newsgroups: gmane.comp.tex.context Subject: Re: Invoking ConTeXt from inside php web appliction Date: Sat, 9 Jul 2016 19:02:15 -0400 Message-ID: <20160709230210.E52DA86C0F0@charkha.pavastupa.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6508339472772767802==" X-Trace: ger.gmane.org 1468105397 16112 80.91.229.3 (9 Jul 2016 23:03:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Jul 2016 23:03:17 +0000 (UTC) To: Henning Hraban Ramm , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 10 01:03:04 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bM1H5-0005ye-VS for gctc-ntg-context-518@m.gmane.org; Sun, 10 Jul 2016 01:03:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 95C7D114D1; Sun, 10 Jul 2016 01:02:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NPFd_PDMD5Dz; Sun, 10 Jul 2016 01:02:30 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id D0447114EE; Sun, 10 Jul 2016 01:02:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 81D10114D9 for ; Sun, 10 Jul 2016 01:02:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vXlue2L7sRsv for ; Sun, 10 Jul 2016 01:02:22 +0200 (CEST) Original-Received: from charkha.pavastupa.com (unknown [173.230.253.20]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 7A186114D1 for ; Sun, 10 Jul 2016 01:02:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by charkha.pavastupa.com (Postfix) with ESMTP id E52DA86C0F0; Sat, 9 Jul 2016 19:02:10 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at charkha.pavastupa.com Original-Received: from charkha.pavastupa.com ([127.0.0.1]) by localhost (charkha.pavastupa.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kpuGg19mmVeV; Sat, 9 Jul 2016 19:02:09 -0400 (EDT) Original-Received: from [IPv6:::ffff:192.168.11.117] (bas5-toronto47-2925109866.dsl.bell.ca [174.89.162.106]) (Authenticated sender: pavneet_arora@waroc.com) by charkha.pavastupa.com (Postfix) with ESMTPSA id D692B86C0D6; Sat, 9 Jul 2016 19:02:08 -0400 (EDT) Importance: normal X-Priority: 3 In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:95385 Archived-At: --===============6508339472772767802== Content-Type: multipart/alternative; boundary="_3982D8F4-DECD-4398-AEF5-9C6117D327FC_" --_3982D8F4-DECD-4398-AEF5-9C6117D327FC_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" I believe that public in this case refers to public assets such as CSS, js,= etc., where one puts custom files rather than publicly accessible, e.g., w= p-uploads for WordPress. In the case of most frameworks, URL access is lim= ited to specified routes only which point to controller methods. ConTeXt, = when installed in this manner, can only be run as www-data:www-data, i.e.,= by httpd. I wasn=E2=80=99t able to get it work using any of the other suggestions. I= s there another template you can suggest? Pavneet Arora m: +1 (647) 406-6843 e: pavneet_arora@waroc.com From: Henning Hraban Ramm= --_3982D8F4-DECD-4398-AEF5-9C6117D327FC_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

I believe that public in this case r= efers to public assets such as CSS, js, etc., where one puts custom files r= ather than publicly accessible, e.g., wp-uploads for WordPress.=C2=A0 In th= e case of most frameworks, URL access is limited to specified routes only w= hich point to controller methods.=C2=A0 ConTeXt, when installed in this man= ner, =C2=A0can only be run as www-data:www-data, i.e., by httpd.

 

I wasn=E2=80=99t ab= le to get it work using any of the other suggestions. =C2=A0Is there anothe= r template you can suggest?

 

Pavneet Arora
m: +1 (647) 406-6843
e: pavneet_aror= a@waroc.com

 

= From: Henning Hraban Ramm
<= b>Sent: Saturday, July 9, 2016 16:56
To: pavneet_arora@waroc.com; mailing list for ConTeXt users
Subject: Re: [N= TG-context] Invoking ConTeXt from inside php web appliction