From: Bhagavatheeswaran Mahadevan Date: 2001-11-27T22:30:09+09:00 Subject: [ruby-talk:26650] Re: CGI This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C17748.02DAF820 Content-Type: text/plain Sorry for the trouble........ but I hope you dont mind if I ask you some questions directly....... I think it has to be /ruby/bin/ruby...... but what is this mod_ruby....where do I have to look for the server config......... Suresh > -----Original Message----- > From: Bambang Purnomosidi D. P. [SMTP:bpdp@3wsi.net] > Sent: 27 November 2001 18:32 > To: ruby-talk@ruby-lang.org > Subject: [ruby-talk:26647] Re: CGI > > On Tuesday 27 November 2001 7:50 pm, Bhagavatheeswaran Mahadevan wrote: > > Hi all > > > > I have installed Apache......I copied my script file into cgi-bin > directory > > under Apache...and tried to run my script from the browser > > using http://localhost/cgi-bin/one.rb but still getting error page as > > "Internal Server Error" > > I have added the comment line in my script file... > > > > #!/ruby/bin/ruby > ^^^^ > > If I am not mistaken, that should be #!/usr/bin/ruby. Or maybe you install > > your binaries at /ruby/bin/ ? > > > > > but still my code not working............ > > > > Could anybody please help me out...do I have to make some changes in the > > httpd.conf file............ > > > > Did you use mod_ruby? if yes, take a look at my server config below: > > ---- > LoadModule ruby_module /usr/lib/apache/1.3/mod_ruby.so > > > RubyRequire apache/eruby-run > > > SetHandler ruby-object > RubyHandler Apache::RubyRun.instance > > > > SetHandler ruby-object > RubyHandler Apache::ERubyRun.instance > > > > ---------------------- > > If you don'y use mod_ruby, then use it :) > > -- > bpdp ------_=_NextPart_001_01C17748.02DAF820 Content-Type: text/html Content-Transfer-Encoding: quoted-printable RE: [ruby-talk:26647] Re: CGI

Sorry for the = trouble........
but I hope you dont = mind if I ask you some questions directly.......

I think it has to be = /ruby/bin/ruby......
but what is this = mod_ruby....where do I have to look for the server = config.........

Suresh

------_=_NextPart_001_01C17748.02DAF820--