In this article, I will look at how to configuration Virtual Directory.We can configure the Virtual Directory in IIS 7 by following steps.Below screen for my Virtual Directory ‘Welcome’.
Authentication
Authentication means the site is accessible to all. This is the default authentication mode for any site that is hosted on IIS, and it runs under the "IUSR_ [Server Name]" account. We can change by editing.
a. Double click to open Authentication.
b. Right Click on Anonymous Authentication and select Edit option when click on the Edit option above ‘Edit Anonymous Authentication Credentials’ dialog box will appear.
c. Click on Set… button to set the User Name and Password.
Errors Pages
As the title sounds, here I’m going to discuss a very simple feature of IIS7. Let’s take an example of configuring a redirect for a page to HTTPS if it is browsed on HTTP. There are a lot of ways doing this HTTP to HTTPS redirection, where using Error pages is one of them. If you force HTTPS to be used in your website, error 403.4 would be returned to the browser. By default detailed error message (403.4) won’t be sent to the browser, but just 403. However, you can enable detailed error messages. Now, we need to configure our error page so that it redirects the requests to HTTPS. You can do it by following this KB article for IIS 7.0.
a. The Errors Pages allows us to specify the error page that will be displayed for any specific type of HTTP Error Double Click on the Error Pages.
b. After Double Clicking on Error Pages option below screen will appear.
Leave Comment