apache Flashcards

1
Q

apache error log

A

/etc/apache2/logs/error_log

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

apache config file

A

/etc/apache2/conf.d/httpd.conf

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

primary configuration file directory

A

/etc/apache2/conf.d

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

contanes include files that add content to the httpd.conf file

A

/etc/apache2/conf.d/includes

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

find list of apache modules

A

httpd -M

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

apache logs and apache module logs located here

A

/usr/local/apache/logs

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

How do you check what port apache is listening on?

A

give lsof and and netstat example here

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

what’s the usual apache user?

A

“nobody”

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

1xx apache return code

A

informational, we never see these

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

2xx apache return code

A

success code, it’s working, no problem to process

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

3xx apache return code

A

redirection, you’ll see these referenced in .htaccess files, but they are not a source of issues

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

4xx apache return code

A

client errors

404 not found is most commonly seen when there are tomcat issues, mod_userdir issues, or document root issues

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

5xx apache return code

A

server errors

500 internal server error, Most commonly seen when there are permission or script issues. Check the error logs for more information. Sometimes seen with CloudLinux when a site reaches a memory or processor limit part way through processing a request.

503 Service Unavailable. Most commonly seen with CloudLinux when a site reaches one of its limits at an expected juncture.

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

what two ways can apache connect to other programs

A

CGI (the common gateway interface) and custom modules

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