scgi get value from QUERY_STRING

"Tom Lesters" <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
I migrate from cgi to scgi,
But how to get the QUERY_STRING?
Like
/forum/?page=5,
get 5 from the url,

The following works on Quixote cgi server, but not scgi what's the scgi
equivalent to it?

import cgi
fs = cgi.FieldStorage()
page_no = fs['page'].value

googled and searched the scgi source code seems not finding FieldStorage.
should I search another term?  Or should these code work under scgi, there
must be some configuration problem on my side?

I'm using scgi 1.9, quixote 2.4, lighttpd 1.4.9 with mod_scgi

Thanks a bunch,
Tom

PS: I feel quixote missing a somewhat centralized website for people to
communicate, contribute and explain the relationship between QP, Quixote,
scgi, wscgi, etc., or everybody just controbute to quixote.ca and make it
more current? I've added some solution to my problems there.

_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.