Dave Thomas wrote:

> Jilani Khaldi <jilanik / tin.it> writes:
>
> > Hi Ruby's,
> > why calling this script form a borwser (http://myserver/cgi-bin/test.rb)
> > gives in output only the title: "Interbase -- Ruby Application"
>
> Your browser probably runs as a different user ID (often
> 'nobody'). Does that user have access to the database? Does interbase
> need some environment variables that aren't being set in the browser
> context? Is there anything in the error log?

Error found!
In the script I have to put "localhost", or IP address:
conn = InterBase::connect('localhost:/ibase/arianna.gdb', 'sysdba',
'masterkey')
                                          ^^^^^^^^^
insteat of:
conn = InterBase::connect('/ibase/arianna.gdb', 'sysdba', 'masterkey')

Jilani