# To get ENVinstead of cgi, fcgi.. any ideas?

**URL:** <https://www.ruby-forum.com/t/to-get-envinstead-of-cgi-fcgi-any-ideas/99265>\
**Category:** Ruby\
**Created:** [July 21, 2006, 11:10am UTC](https://www.ruby-forum.com/t/to-get-envinstead-of-cgi-fcgi-any-ideas/99265 "2006-07-21T11:10:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arie\_Kusuma\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d26b3c/32.png) [@Arie\_Kusuma\_A](https://www.ruby-forum.com/u/Arie_Kusuma_A)\
**Post date:** [July 21, 2006, 11:10am UTC](https://www.ruby-forum.com/t/to-get-envinstead-of-cgi-fcgi-any-ideas/99265/1 "2006-07-21T11:10:08Z")

</div>

Hello,  
I need to get ENV[‘QUERY\_STRING’].  
i wrote CGI but it’s verrrry slow. now i’m trying to write FCGI for  
this. but i’m kind of clueless… i read this maillist archives, i read  
the ruby way (Hal F.) there are only 2 pages covering it, i read  
fcgi rubygem api, but the api doesn’t have clear examples… sigh.  
are there any other solutions for this? or maybe URL or RTFM for me so  
that I can get ENV[‘QUERY\_STRING’]…

[http://mydomain.com/cgi-bin/myfile.fcgi?t=blah&e=blue&j=bleu](http://mydomain.com/cgi-bin/myfile.fcgi?t=blah&e=blue&j=bleu)

## please please please help me i’m feeling like i’m walking in the darkness coz i can’t debug this fcgi and very minimum manuals

Arie Kusuma A. A.K.A Arie A.K.A ariekeren / YM! = riyari3  
[http://ariekusumaatmaja.wordpress.com](http://ariekusumaatmaja.wordpress.com)  
Let’s build Ruby Indonesia stronger  
[Yahoo | Mail, Weather, Search, Politics, News, Finance, Sports & Videos](http://groups.yahoo.com/groups/id-ruby) # Indonesia Ruby Society

Haree genee baru pake Ruby???  
Untung ada Ruby#Enumerable … arwen … j’t’attends
