2. Web server Technology Flashcards
What is a web browser?
The software makes it possible to send requests to servers and view HTML documents.
What are the most popular web browsers currently?
Google Chrome, Safari, Edge
What is a web server?
It is a program or machine that responds to requests from clients usually browsers.
What are the most popular web server programs currently?
- Nginx
- Apache
- Cloudflare
What are some functions of a client?
- They send requests to servers
- The display the result of requests to users
What does CGI stand for?
Common Gateway Interface
What are the steps to accessing a database from a web page?
- A user submits a form or clicks on a URL on a web page
- The browser sends a request to the web server that passes it on to a CGI script
- The CGI Script Loads a library that allows it to talk, and send database commands to a database server
- The database server then executes the commands and sends the results to the CGI script
- From the response the CGI script generates an HTML page, that gets sent to the web server, which the sends it to the client.
What features do all servers have in common?
The use of HTTP, and Logging
What is Loggin?
Keeping a history of client requests and server responses in files, called log files.
What are the two roles of a web server?
- Executing Server side code
- Responding to client requests