newbie: cgi,read URI

R

Robby Jansch

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,139
Messages
2,570,807
Members
47,356
Latest member
Tommyhotly

Latest Threads

Top