[OS X TeX] [OT] Serving generated pdf files via a web server
Ross Moore
ross.moore at mq.edu.au
Mon Sep 6 22:29:53 CEST 2010
Hi Alan,
On 07/09/2010, at 5:49 AM, Alan Munn wrote:
> On Sep 6, 2010, at 3:13 PM, Ross Moore wrote:
>> The scripting language should have a command to change the working directory from it's default location. Look for something like: cwd or chdir or setdir .
>
>
> Thanks Ross. The problem was one of permissions
Aaaah; of course. The directory that you use has to be
readable and writable by the web-server user,
which is the account being used when your cgi-script executes
-- unless you spawn a shell with a different user. This guy has
special (but limited) privileges, for obvious security reasons.
> rather than changing directories. Solved now.
Good to see you got over that hurdle.
> Thanks.
>
> Alan
>
> --
> Alan Munn
> amunn at gmx.com
Cheers,
Ross
------------------------------------------------------------------------
Ross Moore ross.moore at mq.edu.au
Mathematics Department office: E7A-419
Macquarie University tel: +61 (0)2 9850 8955
Sydney, Australia 2109 fax: +61 (0)2 9850 8114
------------------------------------------------------------------------
More information about the macostex-archives
mailing list