wk1 apache Flashcards

1
Q

What directive in an Apache configuration defines the logging severity level?

A

LogLevel

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

What does the -v option do during httpd startup?

A

Displays the version of Apache and the build date and exits

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

The mod_userdir module can only be used if processes are being run as which user?

A

nobody

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

What package would you need to install before being able to use the DSO handler with PHP version 7.3?

A

php73-php

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

Describe what’s happening in this htaccess statement:

Order Allow,Deny
Deny from translate.google.com
Allow from google.com

A

All hosts in the google.com domain are allowed access except all hosts which are in the translate.google.com domain

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

Under what path would you be most likely to find the Apache configuration (non-SSL) VirtualHost include files present on a cPanel & WHM environment running EasyApache 4, and Apache 2.4?

A

/etc/apache2/conf.d/userdata/std/2_4/

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

Which of the following LoadModule statements uses the correct syntax?

b. LoadModule status_module “modules/mod_status.so”
c. /modules/mod_status.so
d. LoadModule “status_module”
e. LoadModule -m status_module -f modules/mod_status.so
f. LoadModule modules/mod_status.so status_module

A

LoadModule status_module “modules/mod_status.so”

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

What MPM is suggested for servers running sites requiring compatibility with older software?

A

Prefork

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

In a LogFormat directive in the Apache configuration, what does “%b” represent?

A

Size of response in bytes, excluding HTTP headers, in CLF format.

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

Under what WHM section would you be able to adjust the number of child server processes that Apache creates when it starts?

A

WHM&raquo_space; Service Configuration&raquo_space; Apache Configuration

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