On 2 Dec 2005 16:17:33 +0100, Patrick Gundlach
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