Newbie: cgi,read URI

Hello Newsgroup,

i´m a newbie and work on a ruby 1.8, an apache 1.3, modruby and eruby and
use it in the cgi-version

i just want to get the requested URL

i tried

puts cgi.request_uri()

but unfortunatly nothing happens.

for example:
if there is the URL http://test.test.de/test.rbx?test=1

i just need as a string test.rbx?test=1

if there is a faq for such things, so please quote the link, i haven´t found
it here in the newsgroup

so much thanks

Robby

if there is the URL http://test.test.de/test.rbx?test=1

i just need as a string test.rbx?test=1

ENV[“REQUEST_URI”] will give you /test.rbx?test=1

···

Guy Decoux