wk1 apache Flashcards
What directive in an Apache configuration defines the logging severity level?
LogLevel
What does the -v option do during httpd startup?
Displays the version of Apache and the build date and exits
The mod_userdir module can only be used if processes are being run as which user?
nobody
What package would you need to install before being able to use the DSO handler with PHP version 7.3?
php73-php
Describe what’s happening in this htaccess statement:
Order Allow,Deny
Deny from translate.google.com
Allow from google.com
All hosts in the google.com domain are allowed access except all hosts which are in the translate.google.com domain
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?
/etc/apache2/conf.d/userdata/std/2_4/
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
LoadModule status_module “modules/mod_status.so”
What MPM is suggested for servers running sites requiring compatibility with older software?
Prefork
In a LogFormat directive in the Apache configuration, what does “%b” represent?
Size of response in bytes, excluding HTTP headers, in CLF format.
Under what WHM section would you be able to adjust the number of child server processes that Apache creates when it starts?
WHM»_space; Service Configuration»_space; Apache Configuration