home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / iis4_07.cab / ReadMe.txt5 < prev    next >
Text File  |  1997-10-25  |  2KB  |  42 lines

  1. Description:
  2.  
  3. Redirect is a sample ISAPI extension to demonstrate redirecting
  4. a request.  It redirects requests to a URL specified on the
  5. query string.  If no query string is present, or if the query
  6. string is not identified as a legal target for redirection,
  7. Redirect.dll will return a page to the client with brief 
  8. instructions for its use.
  9.  
  10. Redirections to a resource on the same server as the dll will
  11. be handled by IIS and will be transparent to the browser.
  12. Redirections to a resource on a different server will result
  13. in an HTTP 302 response instructing the browser to obtain the 
  14. resource from another location.
  15.  
  16. To Install:
  17.  
  18. Build the redirect.dsw project and copy the resulting Redirect.dll
  19. file into a virtual directory containing execute permissions.
  20.  
  21. To Run:
  22.  
  23. Reference the Redirect.dll file as a URL from a browser, specifying
  24. a URL on the query string.
  25.  
  26. For example, the following URL entered on the address line of
  27. Internet Explorer will redirect the request to the specified
  28. URL on a different server:
  29.  
  30.    http://server/scripts/Redirect.dll?http://server2/virtualdir/file.htm
  31.  
  32. The following URL entered on the address line will redirect the
  33. request to the specified resource on the same server:
  34.  
  35.    http://server/scripts/Redirect.dll?/virtualdir/file.htm
  36.  
  37. Disclaimer:
  38.  
  39. This sample, and the included automation dll, is provided for the
  40. purposes of demonstrating an ISAPI extension.  It has not been
  41. tested for use in a production environment and no support will
  42. be provided for use in a production environment.