ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: VnPenguin <vnpenguin@gmail.com>
Subject: Re: Re: ConTeXt "live"
Date: Fri, 2 Dec 2005 19:32:51 +0100	[thread overview]
Message-ID: <e5d3f2650512021032k56e05e06jab9b4fb87fd2ab7d@mail.gmail.com> (raw)
In-Reply-To: <m2iru7edf6.fsf@levana.de>

On 2 Dec 2005 16:17:33 +0100, Patrick Gundlach <patrick@gundla.ch> 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=p, openin=p

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

  reply	other threads:[~2005-12-02 18:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-01 22:19 VnPenguin
2005-12-02 14:05 ` Hans Hagen
2005-12-02 14:25   ` VnPenguin
2005-12-02 15:17     ` Hans Hagen
2005-12-02 14:21 ` Patrick Gundlach
2005-12-02 14:30   ` VnPenguin
2005-12-02 15:17     ` Patrick Gundlach
2005-12-02 18:32       ` VnPenguin [this message]
2005-12-02 21:30         ` Patrick Gundlach
2005-12-03 11:56           ` Taco Hoekwater
2005-12-03 23:10           ` Christopher Creutzig
2005-12-04  0:13             ` Patrick Gundlach
2005-12-02 15:32     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e5d3f2650512021032k56e05e06jab9b4fb87fd2ab7d@mail.gmail.com \
    --to=vnpenguin@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).