Title: Web Server
1Web Server
- MIS 4710 - Advance Database
- Jenny H. Wong
2Introduction
- Web Servers are computers that are connected to
the Internet and run special Web server software. - The Web server software
- monitors Web page requests, and
- processes server-side program
3Well cover
- The Microsoft Personal Web Server software (PMS)
- How to improve Web site performance
- Difference between Absolute Relative URL
addresses - Compare Personal web Server to other Web servers
- An example of Microsoft Internet Information
Server (IIS) in NT environment
4Overview
- Using Web Server software to effectively create
and manage a Web Server on a desktop computer.
Alias
PWS
Web Site
IIS
IP
URL
Default.htm
5Types of Web Server Software
- Personal Web server (PWS)
- Microsoft Internet Information Server (IIS)
6Personal Web Server
- Only supports up to 10 Web server connections at
one time. - Every visitor request for a Web page uses a Web
server connection. - For example, a Web Page contains references to
three graphic image files, a single request for
the Web page would use a total of four Web server
connections.
7Personal Web Manager
- Is a utility that is used to configure and
monitor PWS.
8Personal Web Manager
- Navigation toolbar lets you move to different
pages within the Personal Web Manager application.
9Personal Web Manager Main Page
- Shows the URL for your PWS, which is the name of
your computer as it is identified on its network. - Shows the Drive letter and folder path to
Personal Web Servers root document folder. - Views visitor activity at the Web site via the
Monitoring section.
10Personal Web Manager Main Page
Message indicating Web publishing listener
process is on
Computer name
Root Document folder
11Monitoring Web Site Performance
- Active connections, which represent the number of
active server connections that are currently
being use to transfer data to visitor browsers. - Started at shows when the server was last
started. - Visitors shows the number of unique IP address
that have connected to the server since the
workstation was last restarted.
12Monitoring Web Site Performance
- Requests shows the number of request received
since the computer was last restarted. - Bytes served shows the total amount of data sent
since the computer was last restarted. - Most concurrent connections shows the number of
connections opened to the server simultaneously
since the computer was last started.
13Advance Options Page
- Allows you to specify the Web servers root
document directory and default document
filenames, and to configure other Web server
properties. - Other Web server properties include
- Allows Directory Browsing
- Save Web Site Activity Log
14Advance Options Page
Virtual directories
Default document filename(s)
15Default Documents
- Default document will be displayed if the visitor
did NOT specify the HTML Web page filename after
the domain name. - In the Advance Options Page,
- PWS allows you to specify multiple default
document filenames by listing the filenames
separated by commas.
16Other Features Pages
- Publish Page Web Site Page
- Contains wizards that automate the process of
creating and editing HTML documents and creating
links to documents. - Tour Page
- Provides a basic overview of PWS.
17Web Server Root Directory
- It is the central folder that contains all of the
Web pages, graphic images, programs, and all
other files that are available from the Web site. - The root document folder can be located anywhere
in the Web servers file system.
18 Directory Browsing
- Enable Directory browsing will allows Web site
visitors to use a folder listing to navigate to
different files on the Web server when the
default document file is not specified or found.
19Web Site Activity Log
- It maintains a list of the IP addresses of
computers that connect to your Web site. - A new log file is created each month and saved in
the Windows\System\LogFiles\W3svc1 - Note that the log file entry is NOT written until
PWS is shut down by rebooting.
20Web Site Activity Log
- You can view the log file contents using any text
editor or word processor. - In order to view the log file, you must restart
your computer, and then view the log file before
any new connections are made to the Web server.
21Web Site Activity Log
- The activity log records the IP address of a site
visitor, the date and time when the visitor
accessed.
22Virtual Directories
- A virtual directory is a folder that does not
have to be physically within the root document
folder, but always appears to client browsers as
though it is. - It is associated with a physical folder within
the Web servers file system.
23Virtual Directories
- Virtual directories allow you to change the
physical location of Web page files on your Web
server without changing the URLs that the
visitors use to access the files.
24Virtual Directory Access Privileges
25Factors of Web Site Performance
- The speed of the Web servers network connection.
- The amount of memory that a Web server has
allocated to process Web page requests. - The Web servers processor speed.
26Factors of Web Site Performance
- The number of other visitors currently requesting
Web site pages or files. - The size of Web page files and the number size
of their embedded graphic object files. - The resources needed by Web-based programs
scripts in Web pages.
27Referencing Files on A Web Server
- One of most effective way to manage referenced
objects is by specifying object locations using
absolute or relative URL addresses.
28Absolute URL Address
- Three main components of an Absolute URL Address
- Web server IP address or Domain name
- The complete folder path or virtual directory
path to the Web page file - The name of the Web page file
- For example http//localhost/Ebay/Products.html
29Relative URL Address
- A Relative URL address specifies the location of
a file relative to the current working directory. - Format
- subfolder name/file name, or
- ../filename
30Microsoft Internet Information Server (IIS)
- In the next few slides, we will generally go
through the screens available in IIS and the
difference between PWS IIS.
31PWS vs. IIS
- IIS provides more sophisticated administrative
feature, which - supports directory browsing that can be enabled
or disabled for specific directories. - Provides Write access for virtual directory.
- (Download Upload files)
- Allows the Web server administrator to tune the
Web site for the number of expected hits per day - Provides a higher level of security through NT
file system permissions.
32Microsoft Internet Information Server (IIS)
33IIS
- Service Tab
- ICP Port
- Connection Timeout
- Max. Connections
- Anonymous Logon
34IIS
- Directories Tab
- Manage directories in your Web Server
- Features include adding Virtual directory,
specifying Default document and enable web
browsing.
35IIS
- Logging Tab
- Can be log to
- File, or
- SQL/ODBC Database.
36IIS
- Advanced Tab
- Allow administer to either grant or deny access
to specific IP address.
37Summary
- Web server software is a software that is
designed to create and manage a Web server on a
desktop computer. - Personal Web Manager and Microsoft Internet
Service Manager are both utility that is used to
configure and monitor Web Server.
38Any Question?