CGI Fiction Search Example

Gregory Lypny gregory.lypny at videotron.ca
Sun Sep 5 15:43:11 EDT 2004


Thanks for all the help, but I still can't get Jacqueline's CGI example 
to run in OS X on my iBook.  I keep getting a "500 Internal Server 
Error", which apparently means that a script crashed.

I think I have allocated execution permission to all of the mt files.  
Lots of x's.  Here is a listing from Terminal:

-rwxr-xr-x  1 gregory  admin      515  5 Sep 15:25 echo.mt
-rwxr-xr-x  1 gregory  admin     1989  5 Sep 15:26 fictionsearch.mt
-rwxrwxrwx  1 gregory  admin   395136  2 Sep 10:24 fictionwise.rev
-rwxr-xr-x  1 gregory  admin       61  3 Jan  2004 flowers.mt
-rwxr-xr-x  1 gregory  admin     2375  4 Jan  2004 flowers.rev
-rwxr-xr-x  1 gregory  admin      568 13 Jan  2004 header.txt
-rwxr-xr-x  1 gregory  admin      446  4 Jan  2004 photoTemplate.txt
-rwxr-xr-x  1 gregory  admin      742  4 Jan  2004 photos.mt
-rwxrwxrwx  1 gregory  admin  2698096 18 Apr  2003 rev
-rwxrw-rw-  1 gregory  admin        2  4 Jan  2004 visitors.txt
-rwxr-xr-x  1 gregory  admin      373  5 Sep 15:24 world.mt

I have also over-written Jacqueline's original mt files in order to 
ensure they have Unix line endings.  I used Dave Cragg's technique (put 
field "cgi" into url ("binfile:" & <filename>)) and Frank Engel's 
technique (save with TextEdit as plain text).  I did this with the 
echo.mt, world.mt and fictionsearch.mt files.

I greatly appreciate all your help so far, and any other suggested 
fixes would also be much appreciated because getting this to work would 
is a critical part of my next projects.


	Regards,

		Gregory
	__________________________
	Associate Professor of Finance
	John Molson School of Business
	Concordia University
	Montreal, Quebec
	Canada



More information about the use-livecode mailing list