Chapter 26
Web Maintenance and Administration
CONTENTS
A server administrator can get pretty busy keeping track of where
pages are located. Sometimes you have to make changes to the web.
You might need to relocate, rename, or remove webs. New administrators,
authors, and end users must be added or removed, and passwords
must be changed. These tasks all require administrator authorization.
FrontPage 97 is furnished with two different Web servers. The
FrontPage Personal Web Server is installed if you choose the typical
installation. The following tasks are applicable when using the
FrontPage Personal Web Server.
By default, FrontPage uses a home page (or welcome page) name
of index.htm with the FrontPage Personal Web Server.
Your remote server might require that you use a home page with
a different filename, such as index.html or welcome.htm.
You can configure FrontPage to use a different home page name.
If you installed FrontPage using the default installation, you
can find the configuration file in which you change your default
home page name in the following directory:
C:\FrontPage Webs\server\conf\srm.cnf
Within this file is a section where you specify your directory
index. To specify a directory index file other than index.htm,
remove the pound sign before the line that reads DirectoryIndex
index.htm, and revise the filename to reflect the home page
designation that you want to use. It should look similar to the
last line shown here:
# DirectoryIndex: Name of the file to use as a pre-written HTML
# directory index. This document, if present, will be opened when the
# server receives a request containing a URL for the directory, instead
# of generating a directory index.
#
DirectoryIndex index.html
If you're using FrontPage to develop webs for your corporate intranet,
you might use multiple Web administrators and authors to develop
your Web sites. When you use the FrontPage Personal Web Server,
you configure access for them through commands in the FrontPage
Explorer.
FrontPage allows you to assign access permissions in three categories-Web
administrators, Web authors, and end users. You can assign each
Web site on your server its own access permissions, allowing you
to assign Web development and administration to a different team
for each web. You add end user permissions if you have restricted
webs on your server.
Administrators are allowed to perform the following tasks in FrontPage:
- Create webs and pages
- Delete webs and pages
- Designate other administrators, authors, and end users and
restrict end users from accessing certain portions of the Web
site
Authors are allowed to perform the following tasks in FrontPage:
- Create pages
- Delete pages
By default, all end users have access to a Web site, but sometimes
you might want to restrict access to only certain individuals.
For example, you might want to create a web to which only company
employees have access. Another example might be a technical support
site that requires a monthly subscription fee. On a personal level,
you might want to allow access to only friends and family members.
You must have administrator status to authorize another end user,
author, or administrator. To add users to your web, follow these
steps:
- From the FrontPage Explorer, choose Tools | Permissions.
The Permissions dialog box appears, open to the Settings tab,
as shown in Figure 26.1.
Figure 26.1 : Use the Settings tab in the Permissions dialog box to assign unique permissions for a child web.
- Select one of the following options for your web permissions:
- Select the "Use same permissions as root web"
radio button to configure the child web to inherit the same settings
as those used for the root web.
- Select the "Use unique permissions for this web"
radio button if you need to configure different administrators,
authors, or end users for a child web.
- Click Apply.
- Click the Users tab, shown in Figure 26.2. From the Users
tab, you can add, modify, or remove users as follows:
Figure 26.2 : The Users tab in the Permissions dialog box allows you to configure users for a web.
- To add a user, click the Add button. The Add Users
dialog box shown in Figure 26.3 appears. Enter the new user's
name in the Name field and his or her password in the Password
field. Spaces are not allowed. Enter the password again in the
Confirm Password field. Then, proceed to step 6.
Figure 26.3 : Add a user to your web with the Add Users dialog box.
- To edit access permissions for an existing user, highlight
the user you want to edit and click the Edit button. The
Edit Users dialog box shown in Figure 26.4 appears. Proceed to
step 6.
Figure 26.4 : Edit existing user information with the Edit Users dialog box.
- To remove a user, highlight the user you want to remove and
click the Remove button. The user is removed from the user
list. You cannot remove the administrator name, which was configured
during installation of FrontPage.
- Select the user's level of access as follows:
- If you are adding or editing an end user to the current registered
(protected) web, select the "Browse this web"
radio button.
- If you are adding or changing the user to an author for the
current web, select the "Author and browse this
web" radio button.
- If you are adding or changing the user to an administrator
for the current web, select the "Administer, author,
and browse this web" radio button.
- Click OK to return to the Users tab in the Permissions dialog
box.
- Select the type of web that you are configuring:
- If the current web is not a protected web, choose the "Everyone
has browse access" radio button.
- If the current web is a protected web to which only registered
users can gain access, choose the "Only registered
users have browse access" radio button.
- Click OK. The user is added to your web.
With the FrontPage Personal Web Server, you can also specify access
to your web by IP address. This allows an individual or a group
of people sharing IP addresses to gain access to your web at different
levels. This option is not available if you are using the Microsoft
Personal Web Server.
- From the FrontPage Explorer, choose Tools | Permissions.
The Permissions dialog box appears, open to the Settings tab,
as shown in Figure 26.1.
- Choose one of the following options for your web permissions:
- Select the "Use same permissions as root web"
radio button to configure the child web to inherit the same settings
as those used for the root web.
- Select the "Use unique permissions for this web"
radio button if you need to configure different administrators,
authors, or end users for a child web.
- Click Apply.
- Click the Computers tab, shown in Figure 26.5. Add, modify,
or remove an IP address as follows:
Figure 26.6 : Use the Add Computer dialog box to add an IP mask setting to your web.
- Select the level of access for the IP mask as follows:
- If you are adding or editing an IP mask for the current registered
(protected) web, select the "Browse this web"
radio button.
- If you are adding or changing the IP mask for an author of
the current web, select the "Author and browse
this web" radio button.
- If you are adding or changing the IP mask for an administrator
of the current web, select the "Administer, author,
and browse this web" radio button.
- Click OK to return to the Computers tab in the Permissions
dialog box.
- Select the type of web that you are configuring:
- If the current web is not a protected web, choose the "Everyone
has browse access" radio button.
- If the current web is a protected web to which only registered
users can gain access, choose the "Only registered
users have browse access" radio button.
- Click OK. The user is added to your web.
If you are an administrator or author of the current Web site,
you can change your own password. In order to change the password
for a user, you must know his or her current password.
To change the password for a web user, follow these steps:
- From the FrontPage Explorer, choose Tools | Change
Password. This option is disabled if you are using the Microsoft
Personal Web Server. The Change Password for (name) dialog
box, shown in Figure 26.8, appears.
Figure 26.8 : Change the password for a user in your web in the Change Password dialog box.
- Enter the old password in the Old Password field.
- Enter the new password in the New Password field and
confirm it again in the Confirm Password field. Spaces
are not allowed.
- Click OK. The password is updated for the user.
The Microsoft Personal Web Server is furnished with the FrontPage
Bonus Pack. This is an optional server that you can use under
Windows 95. You must use the Microsoft Personal Web Server when
you use the Database Connector Wizard, discussed in Chapter 16,
"Database Connectivity."
NOTE |
The Microsoft Personal Web Server is compatible with Windows 95 only. Do not install this server if you are developing your Webs with Windows NT Workstation or NT Server.
|
The Microsoft Personal Web Server is administered through a combination
of dialog boxes and HTML pages that are viewed through any browser
software.
You configure the Microsoft Personal Web Server through the Personal
Web Server Properties dialog box. From the Windows 95 Start menu,
choose Settings and then Control Panel. From the Control Panel
group, click Personal Web Server. The Personal Web Server Properties
dialog box appears. What follows is a brief overview of the screens
that you need to complete to administer your Microsoft Personal
Web Server.
When you first open the Personal Web Server Properties dialog
box, it is opened to the General tab, shown in Figure 26.9. This
dialog box displays the Internet address of the Microsoft Personal
Web Server. Use this URL when you connect to the Web server from
the FrontPage Explorer.
Figure 26.9 : Use the General tab in the Personal Web Server Properties dialog box to access and configure the Microsoft Personal Web Server.
Beneath the Web server address is the URL of your default home
page. To view the home page in your browser, select the Display
Home Page button. A very sparse home page appears in your browser.
Of course, with FrontPage, you can improve upon it greatly.
The General tab also contains a section in which you can find
more details about the Microsoft Personal Web Server. To do this,
click the More Details button. This takes you to the /docs/default.htm
page in your server, which links you to the following pages:
Getting Started with Personal Web Server
Personal Web Server Administration
FTP Server Administration
You start and stop the Microsoft Personal Web Server from the
Startup tab of the Personal Web Server Properties dialog box using
the following steps. The Startup tab is shown in Figure 26.10.
Figure 26.10 : Use the Startup tab in the Personal Web Server Properties dialog box to start and stop the Microsoft Personal Web Server.
- If the Microsoft Personal Web Server is not running, start
it by choosing Start. If the Personal Web Server is running
and you want to disable it, choose the Stop button.
- If you want the Personal Web Server to start automatically
each time you start Windows 95, check the "Run the Web server
automatically at startup" checkbox. If you would rather start
the server manually, uncheck this option.
- If you want to show the Personal Web Server icon on your Windows
95 taskbar, check the "Show the Web server icon on the taskbar"
checkbox. From the icon on the taskbar, you can perform the following:
- Double-click the icon to open the Personal Web Server Properties
dialog box. You can also open this dialog box if you right-click
the icon and choose Properties from the pop-up menu.
- Right-click and choose Administer to open the Internet
Services Administrator Web-Based Server Administration page in
your browser.
- Right-click and choose Home Page to open the home page
in the root web of your server.
- Select another tab in the Personal Web Server Properties dialog
box, or choose OK to apply your settings.
You use the Administration tab of the Personal Web Server Properties
dialog box, shown in Figure 26.11, to administer your Microsoft
Personal Web Server.
Figure 26.11 : You use the Administration tab of the Personal Web Server Properties dialog box to gain access to administrator tasks.
- From the Administration tab, click the Administration
button. Your browser opens and displays the Internet Services
Administrator Web-based Server Administration page, shown in Figure
26.12. Select the server that you want to administer as follows:
Figure 26.12 : The Internet Services Administrator Web-based Server Administration page allows you to configure your servers and its users.
- Choose WWW Administration to configure your Web server. See
"Administering the WWW Server," later in this chapter.
- Choose FTP Administration to configure your FTP server.
- Choose Local User Administration to configure users and user
groups.
You use the Services tab in the Personal Web Server Properties
dialog box, shown in Figure 26.13, to start and stop the HTTP
(World Wide Web) and FTP servers. The display at the bottom of
the page tells you the current status of each server. You can
tell whether the server is stopped or running and whether the
server is started manually or automatically. The Services tab
offers the following options:
Figure 26.13 : Use the Services tab in the Personal Web Server Properties dialog box to start, stop, or configure your WWW or FTP server.
- To start a server, highlight the server you want to start
and click the Start button.
- To stop a server, highlight the server you want to stop and
click the Stop button.
- To configure the WWW server, highlight HTTP from the list
and click Properties. The HTTP Properties dialog box appears.
To start the HTTP server automatically, select the "Automatic
(HTTP service starts up automatically)" radio button. To
start the HTTP server manually, select the Manual radio
button. To change the home root directory, select the "Change
Home Root" button. To change the home page, select
the "Change Home Page" button.
- To configure the FTP server, highlight FTP from the list and
click Properties. The FTP Properties dialog box appears.
To start the FTP service automatically, choose the "Automatic
(FTP Service Starts Up Automatically)" radio button. To start
the FTP service manually, select the Manual button. To
change the FTP server's home root directory, select the "Change
FTP Home Root" button.
When you choose to administer your HTTP (or World Wide Web) server,
the Administrator-WWW page shown in Figure 26.14 opens in your
browser. This page contains three tabs: Service, Directories,
and Logging.
Figure 26.14 : The Service tab on the Administrator---WWW page.
The Service tab allows you to configure the following items:
Connection Timeout
Maximum Connections
Password Authentication
Comment
The WWW Administrator-Directory page, the top of which is shown
in Figure 26.15, lists all directories on your server. You can
edit, add, or delete directories from this page:
Figure 26.15 : The upper portion of the WWW Administrator---Directory page contains a list of all the directories on your server. You can edit, delete, or add directories on this page.
- To edit a directory, select the Edit link that is adjacent
to the directory you want to edit.
- To delete a directory, select the Delete link that is adjacent
to the directory you want to delete.
- To add a directory, click the Add link at the bottom-right
side of the directory list.
Figure 26.16 shows the lower portion of the WWW Administrator-Directory
page. In this section of the page, you find an option to rename
the default home page. The default home page is (appropriately)
named Default.htm. Enter another name in the Default
Document field if you require it.
Figure 26.16 : The lower portion of the WWW Administrator---Directory page.
You also have the following options in this portion of the page:
Enable Default Document
Directory Browsing Allowed
The Logging tab, shown in Figure 26.17, allows you to enable and
disable logging and specify how often you want a log file to be
generated. To specify the settings for your logging file, follow
these steps:
Figure 26.17 : The Logging tab of the Administrator---WWW page.
- To enable logging, check the "Enable logging" checkbox.
It is checked by default. If you disable the checkbox, no logging
file is generated.
- To automatically open a new log at a specified interval, check
the "Automatically open new log" checkbox. Then, select
how you want a new log file to be generated. The options are Daily,
Weekly, Monthly, or when the file size reaches a specified number
of megabytes.
- In the "Log file directory" field, enter the directory
in which you want to store your log file, or click the Browse
button to locate a directory on your local or network hard drive.
The FTP server included in the Microsoft Personal Web Server allows
you to include files for download in your Web site. You can specify
a maximum number of people that are allowed to connect to your
download area at a given time, generate activity logs, and configure
messages and directories for your FTP server. When you choose
to configure your FTP server, the Internet Services Administrator-FTP
page appears in your browser. This page contains four tabs: Service,
Messages, Directories, and Logging. The Service tab is shown in
Figure 26.18.
Figure 26.18 : The Service tab of the Internet Services Administrator---FTP page.
The Service tab allows you to configure the following items:
Connection Timeout
Maximum Connections
Allow Anonymous Connections
Allow Only Anonymous Connections
Comment
Show Current Sessions. If you select this link, the Current FTP
Sessions page, shown in Figure 26.19, appears. It displays the
users that are currently connected to your FTP site and allows
you to disconnect the users and close the FTP service.
Figure 26.19 : The Current FTP Sessions page displays the users that are connected to your FTP service.
The FTP Administrator-Messages page, shown in Figure 26.20, allows
you to configure default messages for your FTP server. You can
configure a welcome message, an exit message, and a maximum connections
message.
Figure 26.21 : The FTP Administrator---Directory page contains a list of all the directories on your FTP server.
The FTP Administrator-Directory page, shown in Figure 26.21, lists
the directories on your FTP server. You can edit, add, or delete
directories from this page:
Figure 26.20 : Configure FTP messages in the FTP Administrator---Messages page.
- To edit a directory, select the Edit link that is adjacent
to the directory you want to edit.
- To delete a directory, select the Delete link that is adjacent
to the directory you want to delete.
- To add a directory, click the Add link at the bottom-right
side of the directory list.
- To select a directory listing style, choose either the UNIX
radio button or the MS-DOS radio button.
The Logging tab, shown in Figure 26.22, allows you to enable and
disable logging and specify how often you want a log file to be
generated. To specify the settings for your logging file, follow
these steps:
Figure 26.22 : The Logging tab of the FTP Administration page.
- To enable logging, check the Enable Logging checkbox. It is
checked by default. If you disable the checkbox, no logging file
is generated.
- To automatically open a new log at a specified interval, check
the Automatically open new log checkbox. Then, select how you
want a new log file to be generated. The options are Daily, Weekly,
Monthly, or when the file size reaches a specified number of megabytes.
- In the Log File Directory field, enter the directory in which
you want to store your log file, or click the Browse button to
locate a directory on your local or network hard drive.
When you choose Local User Administration from the Internet Services
Administrator Web-Based Server Administration page, the Internet
Local User Administrator page opens. This page consists of three
tabs: Users (shown in Figure 26.23), Groups, and User/Group.
Figure 26.23 : The Users tab of the Internet Local User Administrator page.
In the Users tab, you edit, add, and remove users from your server:
- To add a new user, click the New User button. The page shown
in Figure 26.24 appears. Enter the user's name and password in
the User Name and User Password fields, and then confirm the password
in the Confirm Password field. Click the Add button to add the
new user.
Figure 26.24 : Enter the user's name and password on this page.
- To edit the properties of an existing user, click the Properties
button.
- To remove a user, select the user you want to remove and click
the Remove button.
The Groups tab takes you to the Add New Group to Web Server Database
page shown in Figure 26.25. Enter a group name in the Group Name
field and click Add.
Figure 26.25 : Add user group names on this page.
NOTE |
You can also configure groups and assign users to them by choosing Tools | Permissions from the FrontPage Explorer and selecting the Groups tab in the Permissions dialog box. This tab is not available when you use the FrontPage Personal Web
Server.
|
The User/Group tab allows you to assign users to any groups you
have configured in your web. This tab takes you to the page shown
in Figure 26.26. Highlight a user from the user list, select the
group you want to add the user to, and click the Add User to Group
button.
Figure 26.26 : You assign users to groups in the User/Group tab.
You can use the tasks that follow with either version of the Personal
Web Server. These tasks include displaying documents in hidden
directories, recalculating web status, and copying webs.
When you create discussion groups, the articles that visitors
submit to discussions are stored in Web pages that are contained
in a hidden directory in your web. By default, FrontPage is configured
so that it does not display these hidden directories in the FrontPage
Explorer's Folder View. You can choose to view these hidden directories
by following these steps:
- From the FrontPage Explorer, choose Tools | Web
Settings. The FrontPage Web Settings dialog box appears.
- Choose the Advanced tab, shown in Figure 26.27.
Figure 26.27 : Use the Show Documents in Hidden Directories option in the Advanced tab to view your discussion article directories.
- Check the box beside Show documents in hidden directories.
- Click OK to apply the settings to your Web site and exit,
or click Apply if you want to change additional Web settings.
- FrontPage asks whether you want to refresh the web after the
changes are made:
- Choose Yes to refresh the web and update the directory
trees to display the files in hidden directories.
- Choose No if you want to view the updated directories
at a later time. The directories will show the next time you open
the Web site or if you choose the View | Refresh
(f5) command in the FrontPage Explorer.
You use the Advanced tab in the FrontPage Web Settings dialog
box to recalculate your web status when Include bot page dependencies
are out of date or when your web's text index is out of date.
To perform these tasks, follow these steps:
- From the FrontPage Explorer, choose Tools | Web
Settings. The Web Settings dialog box appears.
- Choose the Advanced tab, shown in Figure 26.27.
- In the Recalculate Status section, you see two checkboxes
enabled when your web needs to be recalculated:
- Included page dependencies are out of date. This option enables
when any WebBot Include Components contained on any page are out
of date.
- Text index is out of date. This option enables when FrontPage
has a text index that is out of date.
- To apply the settings that you selected in the Advanced tab,
click Apply if you want to set additional web settings,
or click OK to exit the Web Settings dialog box.
You use the Publish FrontPage Web command when you copy or publish
your FrontPage Web to another location. You can use the command
to copy or publish Webs to and from a number of different servers
or file systems, such as the following:
- From a server or file directory on your computer to an Internet
service provider's FrontPage-enabled server
- From a Internet service provider's FrontPage-enabled server
to a server or file directory on your computer
NOTE |
If your ISP doesn't have the FrontPage Server Extensions installed on your remote server, consider using the FrontPage Publishing Wizard, discussed in Chapter 28, "Testing and Publishing Your Web." It's much easier than
using an FTP program to accomplish the same task.
|
- From one web to another web on the same server, using a different
web name for the copy
- From the server to a file directory on your local computer
(such as, to make a backup copy of a web)
- From a file directory to the server on your local computer
(such as, to restore a backup copy of a web)
- From one web into another existing web
To copy or publish a web from the FrontPage Explorer, follow these
steps:
- From the FrontPage Explorer, choose File | Open
FrontPage Web or choose the Open button on the FrontPage Explorer
toolbar. The Open FrontPage Web dialog box shown in Figure 26.28
appears.
Figure 26.28 : Use the Open FrontPage Web dialog box to open the web that you want to copy.
- From the Web Server or File Location drop-down menu,
choose the server, local directory, or network directory on which
the web you want to copy resides. You can also enter the server
or directory name in the entry field. To open a web on a remote
FrontPage-enabled server that does not yet exist in the drop-down
menu, enter a server name such as yourserver.com or http://yourserver.com.
- If you want to connect to the server using the Secure Sockets
Layer, check the Connect Using SSL option. The server to
which you are copying must support this feature in order for the
option to work.
- Click the List Webs button. (This step is not required
when you choose a server from the drop-down menu.)
- From the FrontPage Webs list, select the web you want
to copy:
- To copy the root web from your target server to the root web
of the destination server, choose <Root Web>.
- To copy any child web to another server, choose the child
web you want to copy.
- Choose OK. The web opens in the FrontPage Explorer.
- Choose File | Publish FrontPage Web. The Publish
FrontPage Web dialog box shown in Figure 26.29 appears.
Figure 26.29 : Use the Publish FrontPage Web dialog box to select the destination for the web that you are copying.
- From the Destination Web Server or File Location drop-down
menu, choose the server, local directory, or network directory
to which you want to copy the web. You can also enter the server
or directory in the entry field. To copy to a web on a remote
FrontPage-enabled server that does not yet exist in the drop-down
menu, enter a server name such as yourserver.com or http://yourserver.com.
- If you want to connect to the server using the Secure Sockets
Layer, check the Connect Using SSL option. The server to
which you are copying must support this feature in order for the
option to work.
- In the Name of Destination FrontPage Web field, enter
a name for the destination web:
- If you currently have a root web opened and want to copy it
to the other server's root web, enter a name of <Root Web>.
This replaces the server's root web with your current web.
- If you currently have a root web opened and want to copy it
and all child webs to the other server's root web, enter <Root
Web> and then choose the Copy Child Webs (for Root
Web Only) checkbox. This option is disabled when you selected
a child web for copying.
- When you copy a child web to a different server or file location,
the web name in the Name of Destination FrontPage Web Server field
defaults to the name of the web you currently have opened in the
FrontPage Explorer. If you are copying the child web to the same
server, you must provide a new web name in this field.
- To copy the entire web, uncheck the Copy Changed Pages Only
checkbox, which is checked by default. Leave the option checked
if you want to copy the pages that have updated since the last
time you published the web.
- Uncheck the Add to an Existing FrontPage Web checkbox,
which is checked by default, if the web to which you are copying
does not yet exist on the other server or file location. This
creates a new web on the other server or in the other directory.
Leave this option checked if the web already exists and you are
updating or adding to it.
NOTE |
When you add a web to another web, the pages, files, and directories in the first web are copied to the second web. If the destination web has the same filenames as the web being copied to it, the files are overwritten by those being copied.
|
- Click OK to copy the Web site. FrontPage first compiles a
list of the pages in your current web. Next, it begins to copy
the files. A progress indicator appears in the FrontPage Explorer
status bar as the files are copied. FrontPage informs you when
your Web has been copied successfully.
FrontPage allows great flexibility, whether you're using it to
develop your own personal Web site or using it in a corporate
intranet environment. If you're working on your own Web site,
you're already granted access permissions to perform administrative
and authoring tasks. If you need to configure multiple administrators
and authors, the capability is there for you to do so. You learned
how to maintain and manage your Web sites and how to specify the
name of your web's home pages. You also learned how to assign
administrators, authors, and end users to your Web site.
In the next chapter, you'll learn more about the FrontPage Server
Extensions and the files and directories that relate to them.
You'll also learn what other server extensions are available.
In Chapter 28, "Testing and Publishing Your Web," you'll
learn how to transfer your Web documents and files from your computer
to your ISP.
Q: | Can multiple IP addresses be assigned to a single individual?
|
A: | The IP address masks are not connected to an individual in the sense that it is associated with someone's name. Rather, it is associated with a computer. Anyone using that computer's IP address has access to
the web as you specify. One individual can have more than one IP address.
|
Q: | Is there any way to choose specific files to copy when using the Publish FrontPage Web command?
|
A: | The closest option is to use the Copy Changed Pages Only option in the Publish FrontPage Web dialog box. You can open a page or several pages in the FrontPage Editor. With the pages still opened in the
FrontPage Editor, open the destination web from the FrontPage Explorer. Use the File | Save command in the FrontPage Editor to save the pages to the destination web. Test your pages online afterward to ensure that any links on the pages transferred
properly using this method.
|