[REBOL] Re: Trouble with running on server
From: jason:cunliffe:verizon at: 24-Jan-2004 18:53
> My first line of my script points to the file...I think. I've tried so
many paths but none seem to work. I keep getting "Internal Server Error".
using regular Linux shell cd into the directory where your rebol is
then pwd to show the path
use that as the path in your first line of any scripts
#/somepath/somefolder/rebol -cs
That line does not use rebol path syntax. It uses the operating system path
syntax as returned by pwd
You can also use a relative path but full path maybe easier to debug
initially.
Also learn on your server where the server log files are stored. Then cd
into that using Linux shell and after you try any script which is not
working type
tail -10 error.log
error.log is the typical log file for errors your server produces.
The command above will show the last 10 lines of that file.
whenever I have trouble I keep am extra shell window open on this error.log
directory.
In my experience the most common trouble is permissions and the error.log
file can help confirm that.
Unfortunately they don't just say "permissions error" - instead something
aracan about 'corrupt message header'. Sorry I can remember the exact phrase
to google with.
When your scripts are working well no new items will appear at the tail of
the error.log file
hth
-Jason