Apache Flashcards
1
Q
check apache service status
A
sudo service apache2 status or apachectl status
2
Q
where is the apache config file on Fedora and CentOS?
A
/etc/httpd/conf/httpd.conf
3
Q
where is the apache config file on Debian and Ubuntu?
A
/etc/apache2/apache2.conf
4
Q
what command to use to check where the apache config file is?
A
apachectl -V
5
Q
using the find command to find the apache config file
A
find / | grep “apache2.conf”
6
Q
list apache loaded modules
A
apachectl -M
7
Q
enable a virtual site
A
sudo a2ensite example.conf
8
Q
disable a virtual site
A
sudo a2dissite example.conf
9
Q
enable an apache moduel
A
sudo a2enmod name_of_module
10
Q
disable an apache moduel
A
sudo a2dismod name_of_module