Wednesday, September 30, 2015

APACHE Q & A PAGE - 2

            APACHE INTERVIEW QUESTIONS AND ANSWERS 

                                            PAGE - 2




11..How you  to restrict to (100000 bytes) the  uploads on your web server?
<Directory “/var/www/html/data_uploads”>
LimitRequestBody 100000
</Directory>
12..Which language used in  Apache?
C language
13..How to install Apache?
# apt-get install apache2
14..How to restart  Apache?

# apachectl restart
15..How to    secure the Apache web server?
Hiding Apache version and OS information
Disable Directory Listing
Disabling unnecessary modules
Restricting Access to files outside the web root directory
Using mod_evasive to rebutting the DoS attack
Using mod_security to enhance security

Limiting request size
16..How many types of logfiles  in Apache?
Apache writes ASCII logfiles of two types: access (requests that come to the server) and error (errors that occur during requests).
17..What does the Apache error log say?
Errors  that  occur  log during  requests 



No comments: