CGI question

Henrik Motakef henrik.motakef at web.de
Tue Sep 17 15:24:30 EDT 2002


"David LeBlanc" <whisper at oz.net> writes:

>>> When I want to present another
>>> page, I want the url to look like this: http://my.domain.name/?page.
{...]
>>> Now, my problem is to find out what follows behind the question mark in
>>> my CGI script.

Everything after the question mark will end up in the QUERY_STRING
environment variable (as a raw, URL encoded string).

> From what I've heard, the difficulties of writing mod_rewrite rules is
> enough to make even seasoned apache warriors shudder.

Maybe that's the point where one should mention mod_rewrite's
documentation:
http://httpd.apache.org/docs/mod/mod_rewrite.html

There is also a "rewrite guide" with lots of practical examples:
http://httpd.apache.org/docs/misc/rewriteguide.html

hth
Henrik



More information about the Python-list mailing list