IIS рдПрдХреНрд╕рдкреНрд░реЗрд╕ рдореЗрдВ рд╡реЗрдм рдЕрдиреБрдкреНрд░рдпреЛрдЧ рдбреАрдмрдЧ рдХрд░рдирд╛

IIS7 рдЬреЛ рд▓реЛрдЧ рд╡рд┐рдЬрд╝реБрдЕрд▓ рд╕реНрдЯреВрдбрд┐рдпреЛ рдореЗрдВ IIS рдПрдХреНрд╕рдкреНрд░реЗрд╕ рдХреЗ рдЖрдзрд┐рдХрд╛рд░рд┐рдХ рд╕рдорд░реНрдерди рдХреЗ рд▓рд┐рдП рдЗрдВрддрдЬрд╛рд░ рдирд╣реАрдВ рдХрд░рдирд╛ рдЪрд╛рд╣рддреЗ рд╣реИрдВ, рдЙрдирдХреЗ рд▓рд┐рдП рдбрд┐рдмрдЧрд┐рдВрдЧ рд╡рд┐рдХрд▓реНрдк рдХреЛ рдХрд╕рдиреЗ рдХрд╛ рдПрдХ рдЖрд╕рд╛рди рддрд░реАрдХрд╛ рд╣реИред



рд╣рдореЗрдВ рдХреЗрд╡рд▓ WebMatrix рдмреАрдЯрд╛ рдбрд╛рдЙрдирд▓реЛрдб рдХрд░рдирд╛ рд╣реИ, рдЬрд┐рд╕рдореЗрдВ IIS рдПрдХреНрд╕рдкреНрд░реЗрд╕ рднреА рд╢рд╛рдорд┐рд▓ рд╣реИ (рдЕрднреА рддрдХ рдХреЛрдИ рдЕрд▓рдЧ рдбрд╛рдЙрдирд▓реЛрдб рдирд╣реАрдВ рд╣реИ)ред







рд╣рдордиреЗ IIS рдПрдХреНрд╕рдкреНрд░реЗрд╕ рд▓рдЧрд╛рдИ



WebMatrix рд╕реНрдерд╛рдкрд┐рдд рдХрд░рдиреЗ рдХреЗ рдмрд╛рдж, рд╣рдо рдлрд╝рд╛рдЗрд▓ "рдореЗрд░реЗ рджрд╕реНрддрд╛рд╡реЗрдЬрд╝ \ IISExpress8 \ config \ applicationhost.config" рдХреЛ рд╕рдВрдкрд╛рджрд┐рдд рдФрд░ рд╕рдВрдкрд╛рджрд┐рдд рдХрд░рддреЗ рд╣реИрдВред

145 рд╡реАрдВ рдкрдВрдХреНрддрд┐ рдкрд░ рдЬрд╛рдПрдВ рдФрд░ WebAite1 рдХреА рдЫрд╡рд┐ рдФрд░ рд╕рдорд╛рдирддрд╛ рдореЗрдВ рдПрдХ рдФрд░ рд╕рд╛рдЗрдЯ рдкрд░рд┐рднрд╛рд╖рд╛ рдмрдирд╛рдПрдВ, рдЬрд┐рд╕рд╕реЗ рд╕рд░реНрд╡рд░рдСрдЯреЛрд╕реНрдЯрд╛рд░реНрдЯ рд╡рд┐рд╢реЗрд╖рддрд╛ рдХреЛ рд╣рдЯрд╛рдпрд╛ рдЬрд╛ рд╕рдХреЗ:

Copy Source | Copy HTML < site name ="WebSite1" id ="1"> < application path ="/"> < virtualDirectory path ="/" physicalPath ="%IIS_SITES_HOME%\WebSite1" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8080:localhost" /> </ bindings > </ site > < site name ="VSDebug" id ="2"> < application path ="/" applicationPool ="Clr4IntegratedAppPool"> < virtualDirectory path ="/" physicalPath ="c:\dev\mysite" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8421:localhost" /> </ bindings > </ site >



  1. Copy Source | Copy HTML < site name ="WebSite1" id ="1"> < application path ="/"> < virtualDirectory path ="/" physicalPath ="%IIS_SITES_HOME%\WebSite1" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8080:localhost" /> </ bindings > </ site > < site name ="VSDebug" id ="2"> < application path ="/" applicationPool ="Clr4IntegratedAppPool"> < virtualDirectory path ="/" physicalPath ="c:\dev\mysite" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8421:localhost" /> </ bindings > </ site >



  2. Copy Source | Copy HTML < site name ="WebSite1" id ="1"> < application path ="/"> < virtualDirectory path ="/" physicalPath ="%IIS_SITES_HOME%\WebSite1" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8080:localhost" /> </ bindings > </ site > < site name ="VSDebug" id ="2"> < application path ="/" applicationPool ="Clr4IntegratedAppPool"> < virtualDirectory path ="/" physicalPath ="c:\dev\mysite" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8421:localhost" /> </ bindings > </ site >



  3. Copy Source | Copy HTML < site name ="WebSite1" id ="1"> < application path ="/"> < virtualDirectory path ="/" physicalPath ="%IIS_SITES_HOME%\WebSite1" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8080:localhost" /> </ bindings > </ site > < site name ="VSDebug" id ="2"> < application path ="/" applicationPool ="Clr4IntegratedAppPool"> < virtualDirectory path ="/" physicalPath ="c:\dev\mysite" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8421:localhost" /> </ bindings > </ site >



  4. Copy Source | Copy HTML < site name ="WebSite1" id ="1"> < application path ="/"> < virtualDirectory path ="/" physicalPath ="%IIS_SITES_HOME%\WebSite1" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8080:localhost" /> </ bindings > </ site > < site name ="VSDebug" id ="2"> < application path ="/" applicationPool ="Clr4IntegratedAppPool"> < virtualDirectory path ="/" physicalPath ="c:\dev\mysite" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8421:localhost" /> </ bindings > </ site >



  5. Copy Source | Copy HTML < site name ="WebSite1" id ="1"> < application path ="/"> < virtualDirectory path ="/" physicalPath ="%IIS_SITES_HOME%\WebSite1" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8080:localhost" /> </ bindings > </ site > < site name ="VSDebug" id ="2"> < application path ="/" applicationPool ="Clr4IntegratedAppPool"> < virtualDirectory path ="/" physicalPath ="c:\dev\mysite" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8421:localhost" /> </ bindings > </ site >



  6. Copy Source | Copy HTML < site name ="WebSite1" id ="1"> < application path ="/"> < virtualDirectory path ="/" physicalPath ="%IIS_SITES_HOME%\WebSite1" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8080:localhost" /> </ bindings > </ site > < site name ="VSDebug" id ="2"> < application path ="/" applicationPool ="Clr4IntegratedAppPool"> < virtualDirectory path ="/" physicalPath ="c:\dev\mysite" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8421:localhost" /> </ bindings > </ site >



  7. Copy Source | Copy HTML < site name ="WebSite1" id ="1"> < application path ="/"> < virtualDirectory path ="/" physicalPath ="%IIS_SITES_HOME%\WebSite1" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8080:localhost" /> </ bindings > </ site > < site name ="VSDebug" id ="2"> < application path ="/" applicationPool ="Clr4IntegratedAppPool"> < virtualDirectory path ="/" physicalPath ="c:\dev\mysite" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8421:localhost" /> </ bindings > </ site >



  8. Copy Source | Copy HTML < site name ="WebSite1" id ="1"> < application path ="/"> < virtualDirectory path ="/" physicalPath ="%IIS_SITES_HOME%\WebSite1" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8080:localhost" /> </ bindings > </ site > < site name ="VSDebug" id ="2"> < application path ="/" applicationPool ="Clr4IntegratedAppPool"> < virtualDirectory path ="/" physicalPath ="c:\dev\mysite" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8421:localhost" /> </ bindings > </ site >



  9. Copy Source | Copy HTML < site name ="WebSite1" id ="1"> < application path ="/"> < virtualDirectory path ="/" physicalPath ="%IIS_SITES_HOME%\WebSite1" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8080:localhost" /> </ bindings > </ site > < site name ="VSDebug" id ="2"> < application path ="/" applicationPool ="Clr4IntegratedAppPool"> < virtualDirectory path ="/" physicalPath ="c:\dev\mysite" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8421:localhost" /> </ bindings > </ site >



  10. Copy Source | Copy HTML < site name ="WebSite1" id ="1"> < application path ="/"> < virtualDirectory path ="/" physicalPath ="%IIS_SITES_HOME%\WebSite1" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8080:localhost" /> </ bindings > </ site > < site name ="VSDebug" id ="2"> < application path ="/" applicationPool ="Clr4IntegratedAppPool"> < virtualDirectory path ="/" physicalPath ="c:\dev\mysite" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8421:localhost" /> </ bindings > </ site >



  11. Copy Source | Copy HTML < site name ="WebSite1" id ="1"> < application path ="/"> < virtualDirectory path ="/" physicalPath ="%IIS_SITES_HOME%\WebSite1" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8080:localhost" /> </ bindings > </ site > < site name ="VSDebug" id ="2"> < application path ="/" applicationPool ="Clr4IntegratedAppPool"> < virtualDirectory path ="/" physicalPath ="c:\dev\mysite" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8421:localhost" /> </ bindings > </ site >



  12. Copy Source | Copy HTML < site name ="WebSite1" id ="1"> < application path ="/"> < virtualDirectory path ="/" physicalPath ="%IIS_SITES_HOME%\WebSite1" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8080:localhost" /> </ bindings > </ site > < site name ="VSDebug" id ="2"> < application path ="/" applicationPool ="Clr4IntegratedAppPool"> < virtualDirectory path ="/" physicalPath ="c:\dev\mysite" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8421:localhost" /> </ bindings > </ site >



  13. Copy Source | Copy HTML < site name ="WebSite1" id ="1"> < application path ="/"> < virtualDirectory path ="/" physicalPath ="%IIS_SITES_HOME%\WebSite1" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8080:localhost" /> </ bindings > </ site > < site name ="VSDebug" id ="2"> < application path ="/" applicationPool ="Clr4IntegratedAppPool"> < virtualDirectory path ="/" physicalPath ="c:\dev\mysite" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8421:localhost" /> </ bindings > </ site >



  14. Copy Source | Copy HTML < site name ="WebSite1" id ="1"> < application path ="/"> < virtualDirectory path ="/" physicalPath ="%IIS_SITES_HOME%\WebSite1" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8080:localhost" /> </ bindings > </ site > < site name ="VSDebug" id ="2"> < application path ="/" applicationPool ="Clr4IntegratedAppPool"> < virtualDirectory path ="/" physicalPath ="c:\dev\mysite" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8421:localhost" /> </ bindings > </ site >



  15. Copy Source | Copy HTML < site name ="WebSite1" id ="1"> < application path ="/"> < virtualDirectory path ="/" physicalPath ="%IIS_SITES_HOME%\WebSite1" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8080:localhost" /> </ bindings > </ site > < site name ="VSDebug" id ="2"> < application path ="/" applicationPool ="Clr4IntegratedAppPool"> < virtualDirectory path ="/" physicalPath ="c:\dev\mysite" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8421:localhost" /> </ bindings > </ site >



  16. Copy Source | Copy HTML < site name ="WebSite1" id ="1"> < application path ="/"> < virtualDirectory path ="/" physicalPath ="%IIS_SITES_HOME%\WebSite1" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8080:localhost" /> </ bindings > </ site > < site name ="VSDebug" id ="2"> < application path ="/" applicationPool ="Clr4IntegratedAppPool"> < virtualDirectory path ="/" physicalPath ="c:\dev\mysite" /> </ application > < bindings > < binding protocol ="http" bindingInformation =":8421:localhost" /> </ bindings > </ site >





рдореБрдЭреЗ рд▓рдЧрддрд╛ рд╣реИ рдХрд┐ рдмрджрд▓реА рд╣реБрдИ рд╡рд┐рд╢реЗрд╖рддрд╛рдУрдВ рдХреЗ рдореВрд▓реНрдп рд╕реНрдкрд╖реНрдЯ рд╣реИрдВ, рдЗрд╕рд▓рд┐рдП рдЙрдирдХрд╛ рд╡рд░реНрдгрди рдЫреЛрдбрд╝ рджреЗрдВред

рд╣рдорд╛рд░реЗ рд╕рд░реНрд╡рд░ рдХреЛ рд╢реБрд░реВ рдХрд░рдиреЗ рдХрд╛ рд╕рдордп рдЖ рдЧрдпрд╛ рд╣реИред рдЖрдк рдирд┐рдореНрди рдЖрджреЗрд╢ рдХреЗ рд╕рд╛рде рдРрд╕рд╛ рдХрд░ рд╕рдХрддреЗ рд╣реИрдВ:



"C:\Program Files (x86)\Microsoft WebMatrix\iisexpress.exe" /site:{YOUR_SITE_NAME}







{Your_SITE_NAME} рдХреЗ рдмрдЬрд╛рдп рдЖрдкрдХреЛ рдЕрдкрдиреА рд╕рд╛рдЗрдЯ рдХрд╛ рдирд╛рдо, рдЬрд┐рд╕реЗ рдЖрдкрдиреЗ applicationhost.config рдореЗрдВ рдирд┐рд░реНрджрд┐рд╖реНрдЯ рдХрд┐рдпрд╛ рд╣реИ, рдХрд╛ рдирд╛рдо рдмрджрд▓рдирд╛ рд╣реЛрдЧрд╛ред рдореЗрд░реЗ рдорд╛рдорд▓реЗ рдореЗрдВ, рдпрд╣ рд╡реАрдПрд╕рдбреЗрдмрдЧ рд╣реИред рдпрджрд┐ рд╕рдм рдХреБрдЫ рд╕рд╣реА рдврдВрдЧ рд╕реЗ рдХрд┐рдпрд╛ рдЬрд╛рддрд╛ рд╣реИ, рддреЛ рд╕рд░реНрд╡рд░ рд╢реБрд░реВ рд╣реЛ рдЬрд╛рдПрдЧрд╛ рдФрд░ рдЖрдкрдХреА рд╕рд╛рдЗрдЯ рдЙрдкрд▓рдмреНрдз рд╣реЛрдЧреАред



рд╡рд┐рдЬрд╝реБрдЕрд▓ рд╕реНрдЯреВрдбрд┐рдпреЛ рдХреЛ рдХрд╕реНрдЯрдорд╛рдЗрдЬрд╝ рдХрд░реЗрдВ



рд╣рдо рд╕реНрдЯреВрдбрд┐рдпреЛ рд▓реЙрдиреНрдЪ рдХрд░рддреЗ рд╣реИрдВ рдФрд░ рдЕрдкрдиреА рд╡реЗрдмрд╕рд╛рдЗрдЯ рдЙрд╕ рдкрд░ рдЕрдкрд▓реЛрдб рдХрд░рддреЗ рд╣реИрдВред рдкреНрд░реЛрдЬреЗрдХреНрдЯ рдкрд░ рд░рд╛рдЗрдЯ-рдХреНрд▓рд┐рдХ рдХрд░реЗрдВ, рдЧреБрдг рдЪреБрдиреЗрдВ рдФрд░ рд╡реЗрдм рдЯреИрдм рдкрд░ рдЬрд╛рдПрдВред рдпрд╣рд╛рдВ рд╣рдореЗрдВ рдмрд╛рд╣рд░реА рдкреНрд░реЛрдЧреНрд░рд╛рдо рд╢реБрд░реВ рдХрд░рдиреЗ рдФрд░ рдЕрдкрдирд╛ рд╕рд░реНрд╡рд░ рд╢реБрд░реВ рдХрд░рдиреЗ рдХреЗ рд▓рд┐рдП рдХрдорд╛рдВрдб рдирд┐рд░реНрджрд┐рд╖реНрдЯ рдХрд░рдиреЗ рдХреА рдЖрд╡рд╢реНрдпрдХрддрд╛ рд╣реИред







рдиреАрдЪреЗ, рдЙрд╕реА рд╡рд┐рдВрдбреЛ рдореЗрдВ, рдХрд╕реНрдЯрдо рд╡реЗрдм рд╕рд░реНрд╡рд░ рдХрд╛ рдЙрдкрдпреЛрдЧ рдХрд░реЗрдВ рдЪреБрдиреЗрдВ рдФрд░ рд╕рд╛рдЗрдЯ URL рдлрд┐рд░ рд╕реЗ рджрд░реНрдЬ рдХрд░реЗрдВред







рдбреАрдмрдЧрд░реНрд╕ рдЕрдиреБрднрд╛рдЧ рдореЗрдВ, рд╕рднреА рдмреЙрдХреНрд╕ рдЕрдирдЪреЗрдХ рдХрд░реЗрдВ, рдХреНрдпреЛрдВрдХрд┐ рд╕реНрдЯреВрдбрд┐рдпреЛ IIS рд╕реЗ рдЬреБрдбрд╝рдиреЗ рдХреА рдХреЛрд╢рд┐рд╢ рдХрд░реЗрдЧрд╛ рдФрд░ рд╣рдореЗрдВ рдбрд┐рдмрдЧ рдХрд░рдиреЗ рдХреА рдЕрдиреБрдорддрд┐ рдирд╣реАрдВ рджреЗрдЧрд╛ред







рдЕрдм рдЧреБрдгреЛрдВ рдХреЛ рд╕рд╣реЗрдЬреЗрдВ рдФрд░ рдбреАрдмрдЧрд┐рдВрдЧ рд╢реБрд░реВ рдХрд░рдиреЗ рдХреЗ рд▓рд┐рдП F5 рджрдмрд╛рдПрдВред рдЖрдк IIS рдПрдХреНрд╕рдкреНрд░реЗрд╕ рдЯреНрд░реЗ рдЖрдЗрдХрди рдХрд╛ рдЙрдкрдпреЛрдЧ рдХрд░рдХреЗ рдмреНрд░рд╛рдЙрдЬрд╝рд░ рдореЗрдВ рд╕рд╛рдЗрдЯ рдЦреЛрд▓ рд╕рдХрддреЗ рд╣реИрдВред







PS рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХрд╛рдорд░рд╛рди рдЕрдпреВрдм рд▓реЗрдЦ рдиреЗ рдореБрдЭреЗ рдЗрд╕ рдкреНрд░рдХреНрд░рд┐рдпрд╛ рдХрд╛ рд╡рд░реНрдгрди рдХрд░рдиреЗ рдХреЗ рд▓рд┐рдП рдкреНрд░реЗрд░рд┐рдд рдХрд┐рдпрд╛ред рд╣рд╛рд▓рд╛рдВрдХрд┐, рдореБрдЭреЗ рд▓рдЧрддрд╛ рд╣реИ рдХрд┐ рдореЗрд░реЗ рджреНрд╡рд╛рд░рд╛ рд╡рд░реНрдгрд┐рдд рд╡рд┐рдзрд┐ рдХреБрдЫ рд╕рд░рд▓ рд╣реИ рдФрд░ рд╕рд░реНрд╡рд░ рдХреЛ рдореИрдиреНрдпреБрдЕрд▓ рд░реВрдк рд╕реЗ рдкреБрдирд░рд╛рд░рдВрдн рдХрд░рдиреЗ рдФрд░ рдЗрд╕реЗ рд╕рдВрд▓рдЧреНрди рдХрд░рдиреЗ рдХреА рдЖрд╡рд╢реНрдпрдХрддрд╛ рдХреЛ рд╕рдорд╛рдкреНрдд рдХрд░рддрд╛ рд╣реИред




All Articles