Adding Virtual Directories

By default, PWS installs a directory in which you can place any files you want to have published on your Web site. If your site becomes too complex, or you decide to use scripts and applications in your pages, you may want to create additional directories for your published content.

To add a new virtual directory
  1. Open Personal Web Server and click the Advanced icon on the sidebar.
  2. In the Advanced window, click the Add button.
  3. In the Add Directory dialog box, type the path to the directory and an alias directory name.
  4. Set the directory access permissions by selecting Read, Execute, and Scripts.

—Or—

  1. In My Computer, click the folder you want to share.
  2. On the File menu, click Properties.
  3. On the Web Sharing property sheet, select Share this folder.
  4. Click Add and type the name of the alias you want for this directory in the Alias box. By default, the computer assigns the directory name as the alias if you do not change the information.
  5. Important   When you click OK in the Edit Alias dialog box, your changes take effect immediately. Clicking Cancel on the Web Sharing property sheet does not cancel the alias assignment.

 

To delete a virtual directory from your Web site
  1. In the Advanced window, select the virtual directory you want to stop publishing from.
  2. Click the Remove button.
  3. Note   Removing a virtual directory does not delete either the files or the directory from your hard disk. Only the mapping between the alias and the directory is removed, thereby making your files unavailable to the Web server.

Related Topics


© 1997 by Microsoft Corporation. All rights reserved.