APACHE Flashcards

1
Q

Web Server

A

Serves websites

A system that delivers content or services to end users over the internet
Translates your code into a web interface; nice format

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Apache

A

Free open-source web server creation, deployment, and management software
Create web servers that have the ability to host one or more HTTP-based websites
Ability to support multiple programming languages, server-side scripting, an authentication mechanism and database support

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

HTTP

A

Hyper text transfer protocol, port 80

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

HTTPS

A

Hyper text transfer protocol secure, port 443

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

where is a content directory located

A

/var/www/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Where is content directory for html is located

A

/var/www/html - content directory for html and css (Document root)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

/etc/httpd/conf.d/

A

contains custom configuration files (connected to the main conf file)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

/var/log/http/

A

access-log – access to my website; IP address, time, request type, page they are looking for, apache error (200 works), clients browser and operating system
error_log – server related issues

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

command that checks the version of apache

A

httpd -v

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

command that checks syntax in apache httpd.conf file

A

httpd –t

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

main configuration file

A

/etc/httpd/conf/httpd.conf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

/etc/httpd/conf/httpd.conf - main configuration file
Listen - which IP and ports it`s listening
ServerName - specify server name(for access it with name)
ServerRoot - /etc/httpd where located http
ServerAdmin - mail address for customer complaining
DocumentRoot /var/www/html - for put your html files

A

/etc/httpd/conf/httpd.conf - main configuration file
Listen - which IP and ports it`s listening
ServerName - specify server name(for access it with name)
ServerRoot - /etc/httpd where located http
ServerAdmin - mail address for customer complaining
DocumentRoot /var/www/html - for put your html files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly