What i want to do is that I need to remove the file name and .extention from both of the urls. I am using wamp server on windows xp.My url should be like this in the addressbar, 1.Mydomain/?software=ture. 2.Mydomain/?contact=ture .

I have heared about htaccess. But I don’t know how to do that.I have witten my full code below.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.

Some hosts configure their servers to NOT serve the / but they're relatively rare.

My advice is to LINK to /?querystring (although I hate that because it forces Apache to go find the first DirectoryIndex and serve that) as your link rather than try to force your server to remove the name of the file it's to serve.