Professional Documents
Culture Documents
Modern web servers implement nearly all HTTP commands and additional
functions
The first “dynamic” method of delivering content was the Common Gateway
Interface (CGI)
The system allows developers to write sophisticated programs to the basic interface
allowing for dynamic content delivery
All modern web servers support some level of server-side scripting, typically PHP
on *NIX-flavor web servers to Active Server Pages on Windows-based systems
These languages usually introduce additional scripting tags that get
dynamically replaced by the web server before the page is sent to the client
The Web Server to Client Connection
Web clients, like Chrome, Internet Explorer, Firefox, etc. have ONE job
Web clients translate user requests into requests to retrieve content from
web servers
The user types an address into the client, e.g. www.fiu.edu
The client automatically completes the URL by prepending “http://” to the
URL and submitting the request to its internal network engine
The browser resolves www.fiu.edu and issues the following request to the
web server representing that host – GET /
The web server automatically converts the request into an index page.
You see in your client the HTML representing the “home” page for FIU
Understand the URL
scheme://domain:port/path?query_string#fragment_id
The scheme in the URL is usually http, but it can include SSL (https) or it can
be any other protocol
The domain part is any resolvable host name.
The port is optional and defaults to well-known values for the protocol (80
for HTTP, 443 for SSL, 21 for FTP, 22 for SFTP, etc.)
The path specifies the LOGICAL path to the remainder of the URL
The ? indicates that parameters follow as part of the query_string
The # symbol can specify a location within an HTML page
Web Server Path Translation
Client
Request
/~jdoe
Web Server
Client
Looks up
renders
jdoe’s
page
home path
If
index.html
Finds www
or
folder
index.htm
exist, return
Common Solix errors
Permission denied
Common causes are requesting the default page (no filename in URL) and
there is not a file called index.html or index.htm (case IS important)
Web server permissions, use websetup script on Solix to fix
404 File Not found
Common cause is space(s) in the filename, word of advice, DO NOT use them,
use underscores instead
Solix, since it is a UNIX-style web server is case-sensitive. It is possible that you
named the file Index.html instead of index.html
File is not located in your www folder or is in the wrong sub-folder