|
Chapter 3: Configuring Web Sites and Servers continued
Managing Web ContentCopying files into the home, sub, and virtual directories is in fact how you publish documents on a Web site. Documents inherit the default properties of the site and the default permissions of the Windows folder in which they are placed. These properties and permissions can be changed for each document or for all documents within a directory.
CAUTION: As noted previously in the chapter, browsers cache file and directory paths in bookmarks. To prevent errors when renaming or deleting files, you may want to redirect browser requests to the new location using the technique discussed in the "Redirecting Browser Requests" section of this chapter.
Opening and Browsing FilesYou can open files in a browser from within the Internet Information Services snap-in. To do this, right-click the file and then, from the shortcut menu, select Open. This opens the file using a directory path, such as D:\Inetpub\Wwwroot\DEFAULT.HTM.Most types of files can be displayed in the default browser by opening them. However, if the file is an .asp document or other type of dynamic content and the Web site is running, the file will not be displayed. You must be browsing the file to view it in Internet Explorer. To browse a file, right-click the file and then, from the shortcut menu, select Browse.
Modifying the IIS Properties of FilesYou can modify the settings for a Web file at any time. File permissions and general file properties are set in Windows Explorer. IIS permissions and properties are set in the file’s properties dialog box. In this Internet Information Services snap-in, right-click the file, and then select Properties.
Renaming FilesYou can rename Web files in the Internet Information Services snap-in. Follow these steps:
Deleting FilesYou can delete physical and virtual directories in the Internet Information Services snap-in. When you delete a physical directory, the directory and its contents are removed and placed in the Recycle Bin. When you delete a virtual directory, only the alias to the directory is removed. The actual contents of the related physical directory are not changed.To delete a physical or virtual directory in the Internet Information Services snap-in, follow these steps:
Last Updated: Friday, July 6, 2001 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||