On 9/16/2013 10:26 AM, Thomas A. Schmitz wrote:
On 09/16/2013 09:31 AM, Hans Hagen wrote:
mtxrun --script server --auto
and then go to the reported url should work
the --auto makes the server resolve its document root
The error I reported occurs with --auto; while mtx-server-ctx-fonttest.lua runs OK, mtx-server-ctx-help.lua throws an error:
mtx-server | request from: 127.0.0.1 mtx-server | request data: GET /mtx-server-ctx-help.lua HTTP/1.1 mtx-server | requested url: /mtx-server-ctx-help.lua mtx-server | requested action: /mtx-server-ctx-help.lua mtx-server | performing action: /mtx-server-ctx-help.lua mtx-server | locating script: /mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-help.lua
mtx-server | loading script: /mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-help.lua
mtx-server | return type: nil mtx-server | handling error 404: Not Found
weird .. can you put some prints in mtx-server-ctx-help.lua and see if it is loaded? it works okay here ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------