in reply to Grabbing query string
Did you have a look at the docs for the Apache rewrite-engine (assuming you are using the Apache webserver)?
Perhaps the following rewriterule can help you (warning: I have not tested this!):
or thisRewriteRule www.site.com/article.html?(.*) http://www.site.com/cgi-bin +/article.pl?$1
RewriteRule .* http://www.site.com/cgi-bin/article.pl?%{QUERY_STRING}
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
|
|---|