staticfile handler iis System Admin & Windows Server Projects for $30. The static file handler adds a Content-Length header to the generated page, and my code that gets added to the page doesn’t affect this content length. What is it? The static. Restart IIS 7. The first is a simple HTTP issue. Restart IIS by restarting the "World Wide Web Publishing Service On the static Home page click Handler Mappings and then click View Ordered List on the right-side pane. Click Add Script Map. The StaticFile handler mapping Click the proxy script map and move it down below the StaticFile handler mapping. But in other scenarios IIS is supposed to only allow the download of html files and other static content like html pages, music or video files. dll is developed by Microsoft Corporation. static file handler. With *. 5. Make sure the static file handlers are the last handler entries in your web. Removed unneeded handler mappings. Because of these performance limitations it is recommended that you use IIS 7 integrated pipeline to achieve the same functionality as with wildcard mappings in IIS 6. The above will remove handler named "PHP 5" that is responsible for handling *. It’s a system and hidden file. StaticFileModule is one of them. a slow ISAPI handler on the server that sends the file inefficiently Neither are "IIS issues" -- networking issues is outside of IIS scope, and custom ISAPI handler is not IIS code Is the download via the IIS static file handler or some other custom ISAPI? In other words, is the particular URL extension configured to be mapped to Handler StaticFile. NET static file handler is not as powerful as native IIS static file handler. ] My home(Static) page looks fine, everything is where it needs to be. In some cases, the handler may just need to be changed to match the application pool the application is running in. IIS will only enable use of the latest, and fastest HTTP/2 protocol if the site supports HTTPS. Open the Internet Information Services (IIS) Manager. The HttpPlatformHandler v1. In other words, it will be invoked only if the handler for the request is managed. requests a static file. : A Solution this issue arises only if you installed the IIS after Basically what I am looking for is a way to upload a page, which when executed it will check the mappings and update them in the metabase so they are routed though asp. 0 Handlers with their various pre-condition settings. Restarting IIS will ensure authentication package is initialized correctly in the user mode for the website and http. 0 of . UPDATE/IMPORTANT: In the original post for this article I set a wildcard mapping to AspNetStaticFileHandler. It gives me 404. The general problem with this is that IIS tries hard to serve simple files like PDF's, pictures etc. io. Using IIS manager, I found that . aspx resource. IIS doesn't serve unknown file extensions. NET 2. If the page is a script, add a handler. dll, and assign the value proxy to Name). The only handlers you'll need are the PHP handler (FastCgiModule) and the static file handler (StaticFileModule). 5 has been installed This inexplicable bug occurs when a project that is not a problem on Windows server 2012 moves to this server The ASP. com See full list on docs. js file is a node. NET Core has handled the request; therefore, the IIS Static file handler is not called. IIS 6 Whenever you get HTTP 400 Bad Request, the first thing to check is to find out where the HTTP 400 is logged – is it in IIS W3SVC logs, or in the HTTPERR logs. Not sure how to do that code wise tho. The better course of action is to let IIS handle the static files and let Kestrel deal only with the API or server generated content requests that the See full list on docs. Description. DefaultHttpHandler properties show the verbs GET, HEAD and POST. . IIS has associated the workflow web service files with the 4. In the default setup, the StaticFile handler mapping is the "catchall" and is not mapped to any managed handlers. AddFileDependency(physicalPath); // Set IgnoreRangeRequests to avoid serving Range requests from the output cache. After installing, check each site in the IIS Management Console and see whether the CF IIS Handler Mappings for each site actually point to the right site number - each IIS site has its own number and each web server configuration will have a corresponding directory. config has been tested with stock IIS on Server 2012, Server 2012 R2, Server 2016, Win 7, and Win 8. So I went without it as it can now be easily changed, and I went with the method that worked on the most IIS version. (like this http://i. If the page is a script, add a handler. 5, IIS 10. IIS looked at the url, assumed it referred to a static file, checked for the existence of the static file on disk, didn't find it, and thus quit. Add a Managed Handler. with its static-file handler which is generally fine but not for files or lets say file-content served by our own action. So I went without it as it can now be easily changed, and I went with the method that worked on the most IIS version. Then it executes handlers in order until one send the response. For Request Path enter: *. 4. Access IIS manager (Go to start – Run – type ‘INETMGR’) Select the Server Name (System Name) Select ISAPI and CGI restrictions in right side windowpane. It's also important that the name of the http handler, "SiteXml", is unique and doesn't clash with another name of the handler in the website. If you want to serve this content as a static file, add an explicit MIME map. The static and media directories need to be added to the IIS configuration as virtual directories: The important step here is to reconfigure the Handler Mappings feature for each of the directories and remove the Django App handler, leaving the StaticFile handler as the most important one. Scroll down to the 'Roles and Features' section. com The ASP. Create new Handler Mapping In IIS manager, click on the web site name from the left hand side (probably called Default Web Site with a globe image next to it). Enable and manage PHP and FastCGI with PHP Manager for IIS7. . js" verb="*" modules="iisnode" /> </handlers> IIS has a lot of great built-in modules. com Cause This error occurs because the HTTP Handler configured to handle the request has certain preconditions set, but its Application pool does not meet some or all of these preconditions. 0 on all sites Hi guys, been having this issue with iis for a while and couldnt get it fixed, seems like iis is reading the physical path from somewhere else We compose an application from three pieces – Web API (Microsoft. htm is made IIS7 will find out at the beginning of the request that it will be handled by the StaticFile handler which is a native handler. The Microsoft Internet Information Server Plug-In allows requests to be proxied from a Microsoft Internet Information Server (IIS) to WebLogic Server. The managedHandler precondition is false and the modules which have this precondition wouldn’t be loaded for /default. I recently did a DNS resolve, and after changing the redirect link in IIS HTTP Redirect, I am again facing the reload problem. svc extension in the list it does not work and treat it as static file. Each more recent browser includes the language of the client as a request header. config was not deployed), static files will be served. Plus static files served by ASP. NET Core handler is the first to handle the request. Choose 'Add Role or Feature' from the Tasks drop-down. Web. When IIS is configured as an Application Server it executes scripts like ASP and ASP. To correct the issue, create a new application in IIS under the your Workflow site. By putting that config setting, you're forcing IIS to invoke all modules, just as the name says. •The feature you are trying to use may not be installed. aspx files were mapped (under "Handler Mappings") to ISAPI 2. stack. Open the Handler Mappings setting. html should be handled by MIME types basically identify the type of request. 5 virtual directory that points to a UNC share. System. webServer When we were hitting the site via localhost and not specifying a page name, the StaticFile handler was attempting to load one of those two since it had no idea what I wanted. js application as static files such that you can access them over HTTP. yyy is not part of the IIS 7. In the case of ASP. Static. Most likely causes: •It is possible that a handler mapping is missing. NET file handlers. April 22, 2015 at 9:36 pm #91432 [This thread is closed. Included web. ) Edit the Static File and change the request path to: *. The plug-in enhances an IIS installation by allowing WebLogic Server to handle those requests that require the dynamic functionality of WebLogic Server. IIS Web Config with All Http Verbs Allowed. 3 error, stating the following: Module StaticFileModule Notification ExecuteRequestHandler Handler StaticFile Configure Django and IIS to Serve Static Files Add a STATIC_ROOT Setting to the Django Settings File. net * AtHoc StaticFile * URL-less To have IIS 7. A shortcut to this in IIS 7, as mentioned above in the article, is to define the mapping in the web. Uninstall all connectors. aspx, . NET website has inappropriate request handlers defined in IIS. Partial content can be served from memory too, unlike IIS kernel mode For a couple of reasons. therefore, routing module isn't getting invoked. Somehow the URL is served as a static file on my production server which led me to investigate my IIS Handler Mappings, but without luck. 2. Code files (including c# and Razor) should be placed outside of the app project’s web root ( wwwroot by default). You can check this by open 'Edit Feature Permissions' and uncheck 'Script', most of the mappings are now disabled. Necessary . Seriously. microsoft. NET Core Module (ANCM) is not correctly configured (for example if web. I have full administrator access to the server. My Web. NET Core app, I'd argue that static file serving is better left to a front end Web server rather than tying up Kestrel resources. Click the proxy script map and move it down below the StaticFile handler mapping. webServer> In the case of ASP. patreon. This file is part of Internet Information Services. sys should not send pre Running PHP on IIS. Click the proxy script map and move it down below the StaticFile handler mapping. config has been tested with stock IIS on Server 2012, Server 2012 R2, Server 2016, Win 7, and Win 8. As I mentioned on my local machine this all worked fine and to make sure local and live setups HTTP Error 500. It allows IIS to serve the log files that capture output of a node. By default, the StaticFile handler or the Directory handler will handle a request when a client requests a file that has an extension or a directory that is not mapped to a handler. Fixes a performance issue that occurs when you request access to files in an IIS 7. The goal is to switch off the static-file handling of IIS for some paths. Improved performance and greater reliability for PHP applications is ensured by the FastCGI component for IIS 6. IIS 7. html in the root and browse to it, you’ll see the HTML file is served. net 4. Restart IIS by restarting the "World Wide Web Publishing Service The general problem with this is that IIS tries hard to serve simple files like PDF’s, pictures etc. 0: Language-specific Custom Errors. AppendHeader("Accept-Ranges", "bytes"); // We want to flush cache entry when static file has changed response. Below is a list of the different ASP. StaticFiles). NET StaticFile handler (". ASP. AspNet. In the Handler Mappings pane, right-click the StaticFile handler mapping, and then click Edit. with its static-file handler which is generally fine but not for files or lets say file-content served by our own action. Run an elevated command prompt, %windir%\system32\inetsrv\appcmd. Anytime I try to navigate to another page I get the… </handlers> </system. NET, CGI programs and other dynamic content. The handler leverages IIS and OS low level caching mechanisms which offer superb performance. Also, the managed static file handler doesn’t write caching-related information (e. png) Re: CSHTML "will not be served by the static file handler" Mar 03, 2011 01:54 AM | Mikesdotnetting | LINK The forums at IIS is the best place to ask deployment related questions on WebMatrix. 2. Below is a list of the different ASP. dll. Neither of those modules are present in the globalModules or modules sections, so IIS can't load either, and throws the 500. If a request to /default. HTTPS. WebApi. 5 to serve types of static files, for example, PNGs, GIFs, or CSS, do the following: On IIS Manager, display the home page by clicking the Virtual Directory or Application created on step 1. Select proxyand drag it below StaticFilehandler mapping (in other words the StaticFile handler mapping should appear above the proxy handler mapping. config. OwinSelfHost), Nancy (Nancy. Select Handler Mappings from the list and select Read/Write from the right hand section of the page. dll is a Static file handler. The file extension . svc and . Most likely causes: It is possible that a handler mapping is missing. Not good. php files on my PC. •The appropriate MIME map is not enabled for the Web site or I had issues with testing new handler, that only worked on stock IIS on Server 2008 R2 for me. See the following image, to allow ISAPI and CGI restrictions. Move the “StaticFile” handler to the top of the list by selecting it, then on the right under “Actions” click “Move Up” until the handler is above all others. The problem with this kind of handler mapping is that ALL requests are processed by it, including requests for static files. asp. NET features installed, otherwise these extensions don’t have any special meaning to IIS to begin with. The goal is to switch off the static-file handling of IIS for some paths. Plus static files served by ASP. 0 - even though ASP. The only handlers you'll need are the PHP handler (FastCgiModule) and the static file handler (StaticFileModule). So although you see a handler for . The Overflow Blog Podcast 323: A director of engineering explains scaling from dozens of… DevOps & SysAdmins: IIS 10 StaticFile handler impeding PHP custom verb for default documentHelpful? Please support me on Patreon: https://www. The plug-in enhances an IIS installation by allowing WebLogic Server to handle those requests that require the dynamic functionality of WebLogic Server. Let’s imagine that in this OWIN app, the requests for /files/{anything} should be handled by static file handler, the requests for /{anything}. pdf; For Type, select the custom HTTP handler for the application. (That means the StaticFile handler mapping should appear above the proxy handler mapping. Increase the performance of PHP applications running on Windows Server with the Windows Cache Extension for PHP. ) Create a static folder under c:\inetpub\wwwroot and copy an HTML file into it, for example index. (That means the StaticFile handler mapping should appear above the proxy handler mapping. For example, it starts serving web form . Obviously, you only need to do this if you have one of the ASP. StaticFileModule, DefaultDocumentModule and DirectoryListingModule, all three subscribe to RQ_EXECUTE_HANDLER and use default priority. First, you must inform IIS that the server-socket. dirlist. Solution The problem turned out to be related to IIS permissions. Without this, IIS would try to serve the file as a client side JavaScript using the static file handler: 1 2 3 4 <handlers> <add name="iisnode-socketio" path="server-socketio. cgi, CgiModule, cgi-bin): 8. If the page is a script, add a handler. New in IIS 7. Things you can try: a. Please Advise. Now my app would not start up properly. Included web. 0 MimeMap and the static file handler will not serve it. GetMimeMapping(physicalPath); // Static file handler supports byte ranges response. It seems that certain modules within ASP. Using IIS static file handler has a large performance benefit compared to serving static content from within a node. htm. NET 4. config within the system. Next, we want all file extensions such as . g. NET Core serves only files located in the folder "wwwroot" ⇒ so, a 404 response is sent to the client. , ETag or Expires headers) for virtual files that are not served up from disk. cshtml to lose their special meaning to IIS and just be served like any other static file. Notice the “StaticFile” handler. 17 — The requested content appears to be a script and will nto be served by the static file handler Ask Question Asked 8 years ago ErrorDescriptionHandler "StaticFile" has a bad module "DirectoryListingModule" in its module list. An ordered list of Handler Mappings appears. NET. If the file should be downloaded, add a MIME map. Launch IIS Manager; In the tree control in the left pane expand (machine name) > Web Sites > Default Web Site; Locate and select/highlight the cgi-bin virtual directory; Double-click on ‘Handler Mappings’ Click on ‘Add Module Mapping’ Enter the values exactly as appear below (*. Free source code and tutorials for Software developers and Architects. Here's how to fix that: In IIS manager goto Site/Server->Handler Mappings->View Ordered List; Move the StaticFile mapping above the ExtensionlessUrlHandler mappings. ‘The page you are requesting cannot be served because of the extension configuration. First, your Django application’s settings file needs to include a Run the collectstatic Management Command. By default, the static file handler processes all content. dll is usually located in the %WINDOWS% sub-folder and its usual size is 37,888 bytes. 0 file handler and the services are not functional with that handler. The important handler at this level is the StaticFile handler because it lets the Web server provide a default document, allows the user to perform browsing, and provides the I had issues with testing new handler, that only worked on stock IIS on Server 2008 R2 for me. Click OK. [This thread is closed. html. js application. js application and must be handled by iisnode. To put this cache off, i've made a custom handler public class ImageCacheHandler : IHttpHandler { public bool IsReusable { get { return true; } } Even if there was a better static file module for your ASP. Static file handler. . Apparently this static Items are for short time cached from this Handler. jpg. htmlHealthy diet is very important both for IIS picks one handler for a request but each entry can have multiple modules executed which can appear as comma separated list as is the case for StaticFile handler. In Features View, double-click Handler Mappings. It doesn't do that because IIS handler mapping is usually done based on the extension of the request. html. 1. The handler stores original and compressed content in memory, bypassing hard drive. Reinstall them, making sure you run the web server configuration tool as administrator. net-mvc Share In fact, in a default IIS configuration, you can rely on only three handlers to work with just the read permission: OPTIONSVerbHandler, TRACEVerb Handler, and StaticFile. Install this extension or view additional downloads Overview. NET are not installed on the server. aspx files as text files directly. IIS will only enable use of the latest, and fastest HTTP/2 protocol if the site supports HTTPS. ) Create a static folder under c:\inetpub\wwwroot and copy an HTML file into it, for example index. When a client requests a URL with a specific file but the extension does not map to a handler, the StaticFile handler will try to process the request. In this example, it would be in the W3SVC log, and that tells us that the request is actually processed by the IIS pipeline, and returned with HTTP 400 to the client. Adding an ISAPI handler to IIS 7/8 — 404. The StaticFileHandler and StaticFileModule are responsible for returning a static file, such as site. Owin. 5 had been previously installed. Kestrel performance is great but i f a request enters managed code, the throughput for that request will be reduced little bit. The StaticFile handler mapping is configured to respond to requests that do not map to an existing file. 1. NET will not be cached by server and they also will not be cached by web browsers. asp handler this should be easier since it has standard name, but it can easily be changed if required. NET static file handler is not as powerful as native IIS static file handler. You can click view ordered list on the Actions pane of handler mappings feature, move the StaticFile handler down to the bottom. HTTPS. In this case you do not need to know handler names. (That means the StaticFile handler mapping should appear above the proxy handler mapping. Choose the server to administer (probably local server). I have a problem with static file handler, which is responsible for the files like html, jpg, gif etc. net instead of the default IIS static file handler, for the website in question, and not effect the rest of the websites on said webserver. This could be caused by IIS not being setup to handle extensionless static files. com/nkvrL. If the file should be downloaded, add a MIME map. This issue occurs if the sizes of the files are larger than the "maximum cached response size" limit of the Output Caching feature. The specific response is based on the settings for the web application. If the file should be downloaded, add a MIME map. aspx resource. Text version of the videohttp://csharp-video-tutorials. If not this can result in the IIS Handler Mappings >> StaticFile handler mapping being configured incorrectly. NET framework has the restriction in “ ISAPI and CGI restrictions ” in IIS. Tested ok on IIS and IIS Express, though it does not work on VS integrated Web Server. If IIS warns you about diverging from inheriting settings, click OK - this is what we want to do. The page you are requesting cannot be served because of the extension configuration. GitHub Gist: instantly share code, notes, and snippets. The following handler mappings are required: Handler name. Go into Handler Mappings. See full list on docs. ) Create a static folder under c:\inetpub\wwwroot and copy an HTML file into it, for example index. ASP. Add the PyISAPIe handler by selecting "Handler Mappings ==> Add Script Map" with the following settings: Request Path = * Executable = Path to the PyISAPIe. The Microsoft Internet Information Server Plug-In allows requests to be proxied from a Microsoft Internet Information Server (IIS) to WebLogic Server. The ASP. It allows IIS to serve the log files that capture output of a node. Introduction. Another approach -- remove ALL handlers altogether. NET wildcard handler mapping in IIS 7 and above is subject to the same performance limitations as existed in IIS 6. Here is an example of how this header might look: Accept-Language: en-us It seems that on Server 2016, the default iis install is to have the handlers locked. Need help from expirenced windows server admin Migrates site from IIS6 to IIS7 Tryed to fix in many way described on net ----- Module IIS Web Core Also, the IIS Static Content feature must be installed prior to installing the SnapComms Server application. Test your work. NET but failing. More about PHP iis throwing 404. As you may already know the ASP. Owin) and Katana static file handler (Microsoft. imgur. Path. 0 Handlers with their various pre-condition settings. If a handler can't be matched it falls through to the static file handler which would serve the request as text. Currently it’s set to match and catch both File and Directory requests. The DirectoryListingModule is in the list of modules. config is essentially blank. 0. Under Handler Mappings on the Default Site I have OPTIONSVerbHandler, TRACEVerbHandler and StaticFile. If there were different pre-conditions, the request will map to a different handler. 0 and IIS 7. com/2012/10/iis-internet-information-services-and. well-known/ , but by default, ASP. dll. 3. 5, IIS 8, IIS 8. NET there may be many handlers configured for a *. NET there may be many handlers configured for a *. Remove ASP. xml, when a browser, search crawler, etc. MVC routing won't touch requests with an extension it hasn't been mapped to, and the IIS static file handler will pick it up. The handler leverages IIS and OS low level caching mechanisms which offer superb performance. 0 Integrated Mode 32/64-bit Handler Windows Server Standard 32 bits ASP. By default, the static file handler processes all content. ’ Removed unneeded handler mappings. You will see an ordered list of Handler Mappings. Double-click the Handling Mappers and then click View Ordered Liston the right side pane. static. In other words IIS is trying to parse the extension less URL and not firing it into ASP. js application as static files such that you can The easiest way is to do nothing. WebDav is also not installed. Tried so far The third group of handlers only requires 'Read' permission, 'StaticFile' is an example of this. Seriously. If you want ALL static files to be served from MVC (rather than IIS) you add this to your web. The StaticFile request restrictions shows all verbs enabled, access read, invoke handler only if request is mapped to file or folder. In the default setup, the StaticFile handler mapping is the "catchall" and is not mapped to any managed handlers. Contribute to MicrosoftDocs/iis-docs development by creating an account on GitHub. By putting that config setting, you're forcing IIS to invoke all modules, just as the name says. Run the Server Manager (from the task bar or Start menu). In the Edit Module Mapping dialog box, type * in the Request path box, and then click OK. 5 asp. 5 or 8. UseStaticFiles ()"). IIS handler mappings IIS handler mappings. Search for jobs related to Maprequesthandler staticfile 0x80070002 or hire on the world's largest freelancing marketplace with 19m+ jobs. microsoft. 2 is an IIS Module which enables process management of HTTP Listeners and proxies requests to the process it manages. The requested content appears to be script and will not be served by the static file handler. This can really speed up web requests. Also, unlocking the handler, per site, can/has to be done. html. ASP. The unmanaged, standard IIS static file handler is pretty well optimized for performance; more so than the managed static file handler. dll is present in the module path. It's also worth noting that during my investigation I have removed all other handlers (aside from PHP_via_FastCGI and StaticFile) for the site for anything referencing a * path. ] My home(Static) page looks fine, everything is where it needs to be. All you need is to open application pool properties and switch it to version 4. The StaticFile handler is also set to allow all verbs. Static. Try creating a new MVC project and drop myfile. In IIS Manager, expand server name, expand Web sites, and then click the Web site that you want to modify. Browse other questions tagged iis iis-7 or ask your own question. Please mark the replies as answers if they help or unmark if not. ; Updated: 8 Sep 2012 Documentation for IIS. Because it does not execute a process nor does it run a script, it just reads a file from the file system. js application. Now that Django knows where to put the static files, we can run the Add a static Note that it’s clearly falling through all the way to the StaticFile handler which is the last handler to fire in the typical IIS handler list. That actually messes other things up. com/ro Re: CSHTML "will not be served by the static file handler" Mar 03, 2011 01:54 AM | Mikesdotnetting | LINK The forums at IIS is the best place to ask deployment related questions on WebMatrix. As you manually add the StaticFile handler mapping, it will be placed on top of the handler mappings. Change the Not Allowed restrictions to Allow for the required framework. When using IIS 7. Anytime I try to navigate to another page I get the… The workflow web services are built with version 2. The challenge file is in the folder . blogspot. config <modules runAllManagedModulesForAllRequests= "true" > Windows This is a Microsoft Supported Download | Works With: IIS 7. IIS get the request, and find the associated web site. NET 2. 0, user gets the following message: 1. . Set Request Path to "*", set Executable to %PLUGIN_HOME%\lib\iiproxy. In some cases, the handler may just need to be changed to match the application pool the application is running in. IIS takes full advantage of Kernel mode caching, and built in compression infrastructure that is much more efficient than today's ASP. If the IIS static file handler is enabled and the ASP. iis iis-7. – deerchao Sep 5 '11 at 9:58 1 @deerchao - no it won't because the integrated "cassini" server doesn't support <system. Now, double click the Handling Mappers and then click Add Module Mappingon the right side pane. therefore, routing module isn't getting invoked. It's free to sign up and bid on jobs. NET 2. 5 by restarting the "World Wide Web Publishing Service" under services. I've looked at the StaticFile handler, and DirectoryListingModule is in the list. webServer> . NET will not be cached by IIS in kernel mode. Add a Module Mapping (link on the right). dll Name = PyISAPIe (name can be anything) Also, be sure that the PyISAPIe handler is higher than the StaticFile handler by clicking "View Ordered List" and reordering as needed. While working with Opencart shopping cart on an IIS server, we encountered this while browsing to a static image file that was uploaded as a website logo file. If you look back at the first image, you’ll notice that the error message details that the handler causing the 404 error is the StaticFile handler. Static Pages are served by a built-in handler (StaticFile Handler) so the handler generates the output, creates headers etc. 21 - Internal Server Error handler "StaticFile" has a bad module "DefaultDocumentModule" in its module list. So, serving static files from IIS native module will be great for performance. Maybe this info should be front and centre on the quickstart guide, as i expect many people to run into this. This causes the static file handler to be used to process the request instead. Using IIS static file handler has a large performance benefit compared to serving static content from within a node. microsoft. In addition to specific handler mappings based on these settings, IIS provides the ability to return content by using a default handler. 2. exe install module /name:DefaultDocumentModule /image:%windir%\system32\inetsrv\defdoc. If a user requests a file that is not mapped in MIME type, IIS will throw an exception. I have decided to switch from using the default development Web server (which comes with Visual Studio) and start using local IIS instance on my Windows 7 (Enterprise) PC. staticfile handler iis