Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The presence of "cgi-bin/oecgi4.exe" leaves a technology specific signature in the URL. Perhaps this is undesirable. There could be a number of reasons for why this , but let's just assume that at a minimum is undesirable. For example, there may come a time to replace OECGI4.exe with something else, such as OECGI5.exe or another script engine altogether. Perhaps you would prefer not to reveal what kind of script engine you are using in order to discourage certain modes of hacking. In this case, this would be a preferable URL:

...

By removing any references to the technology, the URL is cleaner and easier to publish. It also allow allows the URL semantic to represent a resource rather than broadcast that some script is running on the server. Finally, if the technology ever needed to be swapped out on the server, no clients would ever need to be rewritten. The URL would remain the same as long as URL Rewriting continued to be used to maintain a consistent URL.

We written wrote an article on our blog site called Hiding OECGIx.exe Using URL Rewriting that explains how to create Rewrite Rules for IIS and Apache. Most URL Rewrite utilities modules use regular expressions, so once you have grasped the technique for one web server you should be able to apply it onto another.

...