Creating a root folder
After the server software is installed, create a root folder for your web application on the system running Microsoft IIS, and make sure the folder has the necessary permissions.
To create a root folder for your web application:
- Create a folder called MySampleApps on the system running IIS.
Write down this folder name for later use. When you type it later, be sure to use exactly the same capitalization that you used when you created it.
A good place to create the folder is in C:\Inetpub\wwwroot\. By default, your IIS web server is set up to serve pages from the Inetpub\wwwroot folder. The web server will serve any page in this folder or in any of its subfolders in response to an HTTP request from a web browser.
- Make sure the Read and Scripts permissions are enabled for the folder by doing the following:
- Start the IIS administrative tool (in Windows XP, select Start > Control Panel or Start > Settings > Control Panel, then double-click Administrative Tools, then double-click Internet Information Services).
- Expand the "local computer" list, followed by the Web Sites folder, and then the Default Web Site folder.
- Right-click your MySampleApps folder and select Properties from the pop-up menu.
- In the Execute Permissions pop-up menu, make sure the Scripts Only option is selected. (For security reasons, do not select the Scripts and Executables option.)
- Click OK.
The web server is now configured to serve web pages in your root folder in response to HTTP requests from web browsers.
After configuring your system, you must define a Dreamweaver site. (See Defining a Dreamweaver site (ASP).)