Skip to main content

Posts

Showing posts from September, 2016

Apache webserver interview questions

1. What is Apache web server? Answer :  Apache web server HTTP is a most popular, powerful and Open Source to host websites on the web server by serving web files on the networks. It works on HTTP as in Hypertext Transfer protocol, which provides a standard for servers and client side web browsers to communicate. It supports SSL, CGI files, Virtual hosting and many other features. 2. How to check Apache and it’s version? Answer :  First, use the rpm command to check whether Apache installed or not. If it’s installed, then use  httpd -v  command to check its version. [root@tecmint ~]# rpm -qa | grep httpd httpd-devel-2.2.15-29.el6.centos.i686 httpd-2.2.15-29.el6.centos.i686 httpd-tools-2.2.15-29.el6.centos.i686 [root@tecmint ~]# httpd -v Server version: Apache/2.2.15 (Unix) Server built: Aug 13 2013 17:27:11 3. Apache runs as which user? and location of main config file?. Answer :  Apache runs with the user “nobody” and httpd daemon. Apache main configuration file: /et