Posted on 1997-06-24
I'm using NT4.0 and IIS 3.0 as my web server. I would like to have a perl script as the default page (index.cgi). I have configured IIS to make this happen...and it does work.
The problem is that I want to be able to pass one variable to the script and have it create a web page on the fly from that variable. I want to call it like this:
The script is called, but the variable does not appear in the QUERY_STRING.
If I call the page like so:
the QUERY_STRING does contain the value "variable". It appears that the script gets called regardless, but the variable doesn't get passed unless the script name is included.
I really need to use the form 'www.domain.com/?variable. I've seen other web sites that do it this way. Any help in this matter would be appreciated.