Wednesday, August 12, 2009

Hide asp extension

To Hide ASP Extension

If you are using IIS 6.0: 
  • Open Internet Information Services (IIS) Manager
  • Expand your computer name
  • Expand 'Web Sites'
  • If you want to affect a Web site, right-click the web site in question (and hit Properties); otherwise, expand a web site and right-click the application in question (and hit Properties)
  • On the Home Directory tab, click Configuration...
  • On the Mappings tab, click Add...
  • For Executable: enter the same location for asp.dll as you see with the .asp mapping (this is usually C:\Windows\System32\inetsrv\asp.dll)
  • For Extension: enter the extension (including the leading dot)
  • Leave the rest of the settings at their defaults
  • Hit OK, OK, Apply, OK, and close IIS Manager.

No comments:

Post a Comment