From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24063 Path: news.gmane.org!not-for-mail From: VnPenguin Newsgroups: gmane.comp.tex.context Subject: Re: Re: ConTeXt "live" Date: Fri, 2 Dec 2005 19:32:51 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1133553555 15407 80.91.229.2 (2 Dec 2005 19:59:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2005 19:59:15 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 02 20:59:07 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EiH1W-0002co-FY for gctc-ntg-context-518@m.gmane.org; Fri, 02 Dec 2005 20:56:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2A71712841; Fri, 2 Dec 2005 20:56:50 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20260-01-2; Fri, 2 Dec 2005 20:56:45 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EA61C128F7; Fri, 2 Dec 2005 20:56:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B41CA128F7 for ; Fri, 2 Dec 2005 20:56:43 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20260-01 for ; Fri, 2 Dec 2005 20:56:42 +0100 (CET) Original-Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.193]) by ronja.ntg.nl (Postfix) with ESMTP id A7E6112841 for ; Fri, 2 Dec 2005 19:32:53 +0100 (CET) Original-Received: by zproxy.gmail.com with SMTP id 40so340702nzk for ; Fri, 02 Dec 2005 10:32:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=j6EtTM4m6h7IGxv9gErVeLTKwqeoYH6muN0755HIQRGwGeAB35zOa0kFVNFi8IQSE5XsQoOhd1lzxYgNriTumJD8ikx0tTb/RkdZmT8Fj+QXVdrC1MUNY3r+3uqdS2depa4WRG7sOxiVCS3YCsw0OOgJ2Epiu0SPX5DJBMXCtRc= Original-Received: by 10.36.247.18 with SMTP id u18mr2817713nzh; Fri, 02 Dec 2005 10:32:51 -0800 (PST) Original-Received: by 10.37.22.42 with HTTP; Fri, 2 Dec 2005 10:32:51 -0800 (PST) Original-To: mailing list for ConTeXt users In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24063 Archived-At: On 2 Dec 2005 16:17:33 +0100, Patrick Gundlach wrote: > Hello, > > > > Changed & tried, but I have the same error. > > well, this was only some additional remarks. Perhaps you can use > strace to find out why ConTeXt can't write mpgraph.mp? In my account, ConTeXt works no prob, I got a perfect PDF. My problem occurs when I run ConTeXt via web, under Apache's user of course= . How to trace ConTeXt run under web server ? > What does your cont-sys.tex look like? Do you have write18 enabled > (disable it on the public webserver, of course!). No cont-sys.tex file on my ConTeXt installation. I have only texmf-local/tex/context/base/cont-sys.ori & texmf-local/tex/context/user/cont-sys.rme and they are original of distribution (exactly like http://source.contextgarden.net/tex/context/base/cont-sys.ori and http://source.contextgarden.net/tex/context/user/cont-sys.rme ) The \write18{} feature was disable on my system. > > > >> You should be extremly careful when interfacing TeX to the public. > > with that I mean > > * use setrlimt Could you tell me more about this ? a TeX setting ? Apache setting ? > * disable write18 done > * use openout=3Dp, openin=3Dp done > * hide other user's ConTeXt run by using sessions yes > * use some kind of jail if possible no, it's not possible in my case > * do some checking on user's input Yes, you're right. > Unless you want to share your webserver with other people ;-) No problem, but firstly I need a running ConTeXt via web :-) Thank you so much, Regards, -- http://vnoss.org Vietnamese Open Source Software Community