Setting Up a Web Server

For all the examples from now on, you will require write access to a web server. Because later examples use Active Server Pages (ASP), here you will use Microsoft's IIS 5.0. Open IIS, and right-click the Default Web Site node. Select Properties and click the Home Directory tab. You will be presented with various configuration options for the default web site. Make sure that the Read and Write checkboxes are selected (see Figure 24-2) and click OK.

Default Web Site Properties g]^

I Directory Security || HTTP Headers l| Custom Errors || Server Extensions | Web Site IS API Filters Home Directory Documents

When connecting to this resource, the content should come from:

0 A directory located on this computer O A share located on another computer O A redirection to a URL

Local Path: c

:\in etpub\wwwroot


n Script source access 0 Log visits

0 Read

M Index this resource

0 Write

|_| Directory browsing

^plication Settings

replication name:

Default Application


Starting point:

cDefault Web Site>

Configuration... ]

Execute Permissions:

| Scripts only j

Application Protection:

| Medium {Pooled) | vj


Figure 24-2

Notice the Local Path: box. This is where the root of your web server is located. By default, it is C:\inetpub\wwwroot\. Any web pages placed in this directory are published at the URL http:// localhost/PageName.html.

0 0

Post a comment