Apache Interview Questions And Answers

Apache Interview Questions list for experienced

  1. Apache Interview Questions & Answers
  2. What is apache
  3. What is use of Apache in Web Server?
  4. From where Apache names comes?
  5. What are feature of Apache?
  6. Is Apache opensource?
  7. Who is Initial Author of Apache?
  8. In which language Apache is written?
  9. What is offical website of Apache?
  10. Do I need Programming Skills to install Apache in my system?
  11. What is location of log files for Apache server ?
  12. What are the types of virtual hosts ?
  13. Command to restart/start Apache web server ?
  14. Comamnd to check the version of Apache server ?
  15. What is meaning of "Listen" in httpd.conf file ?
  16. What is Document Root ?
  17. Apache server works on which ports ?
  18. Tell me name of main configuration file of Apache server ?
  19. On which version of apache you have worked ?
  20. What do you mean by a valid ServerName directive?
  21. What is the main difference between and sections?
  22. What is the difference between a restart and a graceful restart of a web server ?
  23. What is the use of mod_perl module ?
  24. If you have added "loglevel Debug" in httpd.conf file, than what will happen ?
  25. Is it possible to record the MAC (hardware) address of clients that access your server ?
  26. If there is one IP address, than how to host two web sites on server ?
  27. Can I serve content out of a directory other than the DocumentRoot directory?
  28. If you have to more than one URL map to the same directory but you don't have multiple Alias directives. What you will do ?
  29. Can you record all the cookies sent to your server by clients in Web Server logs?
  30. What we should do to find out how people are reaching your site ?
  31. How you will put a limit on uploads on your web server ?
  32. LimitRequestBody 100000 Here I have put limit of 100000 Bytes Q: – I want to stop people using my site by Proxy server. Is it possible?
  33. What is mod_evasive module?
  34. How t to enable PHP scripts on your server?
  35. Which tool you have used for Apache benchmarking?
  36. Can we cache files which are viewed frequently?
  37. How to check the version of Apache server ?
  38. What is DocumentRoot ?
  39. On which port Apache server works ?
  40. What is the main difference between and sections?
  41. If you have only one IP address, but you want to host two web sites on your server. What will you do?
  42. Can we do automatically roll over the Apache logs at specific times without having to shut down and restart the server?
  43. What we can do to find out how people are reaching your site?
  44. I want to stop people using my site by Proxy server. Is it possible?
  45. If Some One want Apache server should handle multiple requests over a single TCP connection. Which of the following would allow to do this?
  46. How to install it?
  47. What is Virtual Host?
  48. How to Run PHP/Ruby with Apache ?
  49. How to secure your Apache Web Server ?
  50. How to manage Apache Logs ?
  51. How to Configure your very first Production Web Sever ?

Apache interview questions and answers on advance and basic Apache with example so this page for both freshers and experienced condidate. Fill the form below we will send the all interview questions on Apache also add your Questions if any you have to ask and for apply in Apache Tutorials and Training course just send a mail on info@pcds.co.in in detail about your self.

Top Apache interview questions and answers for freshers and experienced

What is Apache ?

Answer :

Questions : 1 :: Apache Interview Questions & Answers

Apache Interview Questions & Answers Q: – What is location of log files for Apache server ? Ans- /var/log/httpd Q: – What are the types of virtual hosts ? Ans- a. name-based b....View answers

Questions : 2 :: What is apache

The Apache HTTP Server, colloquially called Apache, is a Web server application notable for playing a key role in the initial growth of the World Wide Web.Originally based on the NCSA HTTPd server,...View answers

Questions : 3 :: What is use of Apache in Web Server?


Apache's role is all about communication over networks, and it uses the TCP/IP protocol (Transmission Control Protocol/Internet Protocol which allows devices with IP addresses within the same...View answers

Questions : 4 :: From where Apache names comes?

The name "Apache" derives from the word "patchy" that the Apache developers used to describe early versions of their software development.

Questions : 5 :: What are feature of Apache?

Following are modules supported by Apache mod_access,  mod_auth,  mod_digest,  mod_auth_digest Secure Sockets Layer  Transport Layer Security support...View answers

Questions : 6 :: Is Apache opensource?


Yes, It is

Questions : 7 :: Who is Initial Author of Apache?

Robert McCool

Questions : 8 :: In which language Apache is written?

'C' Language

Questions : 9 :: What is offical website of Apache?


httpd.apache.org

Questions : 10 :: Do I need Programming Skills to install Apache in my system?

No, You need not.

Questions : 11 :: What is location of log files for Apache server ?

/var/log/httpd

Questions : 12 :: What are the types of virtual hosts ?

a. name-basedb. IP-based.Name-based virtual host means that multiple names are running on each IP address.IP-based virtual host means that a different IP address exists for each website served. Most...View answers

Questions : 13 :: Command to restart/start Apache web server ?

service httpd restart/start

Questions : 14 :: Comamnd to check the version of Apache server ?

rpm -qa |grep httpd

Questions : 15 :: What is meaning of "Listen" in httpd.conf file ?

 Port number on which to listen for nonsecure (http) transfers.

Questions : 16 :: What is Document Root ?

It is a location of files which are accessible by clients. By default, the Apache HTTP server in RedHat Enterprise Linux is configured to serve files from the /var/www/html/...View answers

Questions : 17 :: Apache server works on which ports ?

http – port 80https – port 44

Questions : 18 :: Tell me name of main configuration file of Apache server ?

 httpd.conf

Questions : 19 :: On which version of apache you have worked ?

httpd-2.2.3

Questions : 20 :: What do you mean by a valid ServerName directive?

The DNS system is used to associate IP addresses with domain names. The value of ServerName is returned when the server generates a URL. If you are using a certain domain name, you must make sure...View answers

Questions : 21 :: What is the main difference between and sections?

Directory sections refer to file system objects; Location sections refer to elements in the address bar of the Web Page.

Questions : 22 :: What is the difference between a restart and a graceful restart of a web server ?

 During a normal restart, the server is stopped and then started, causing some requests to be lost. A graceful restart allows Apache children to continue to serve their current requests until...View answers

Questions : 23 :: What is the use of mod_perl module ?

mod_perl scripting module to allow better Perl script performance and easy integration with the web server.

Questions : 24 :: If you have added "loglevel Debug" in httpd.conf file, than what will happen ?

 It will give you more information in the error log in order to debug a problem.

Questions : 25 :: Is it possible to record the MAC (hardware) address of clients that access your server ?

No

Questions : 26 :: If there is one IP address, than how to host two web sites on server ?

In this case I will use Name Based Virtual hosting. ServerName 10.111.203.25NameVirtualHost *:80 ServerName web1.test.comDocumentRoot /var/www/html/web1 ServerName web2.test2.comDocumentRoot...View answers

Questions : 27 :: Can I serve content out of a directory other than the DocumentRoot directory?

Yes. We can do it by using “Alias” command.

Questions : 28 :: If you have to more than one URL map to the same directory but you don't have multiple Alias directives. What you will do ?

In this case I will use “AliasMatch” directives.The AliasMatch directive allows you to use regular expressions to match arbitrary patterns in URLs and map anything matching the pattern to...View answers

Questions : 29 :: Can you record all the cookies sent to your server by clients in Web Server logs?

Yes, add following lines in httpd.conf file.CustomLog logs/cookies_in.log “%{UNIQUE_ID}e %{Cookie}i” CustomLog logs/cookies2_in.log “%{UNIQUE_ID}e...View answers

Questions : 30 :: What we should do to find out how people are reaching your site ?

Add the following effect or to your activity log format. %{Referer}

Questions : 31 :: How you will put a limit on uploads on your web server ?

This can be achieved by LimitRequestBody directive.

Questions : 32 :: LimitRequestBody 100000 Here I have put limit of 100000 Bytes Q: – I want to stop people using my site by Proxy server. Is it possible?

Order Allow,DenyDeny from allSatisfy All

Questions : 33 :: What is mod_evasive module?

mod_evasive is a third-party module that performs one simple task and performs it very well. It detects when your site is receiving a Denial of Service (DoS) attack and it prevents that attack from...View answers

Questions : 34 :: How t to enable PHP scripts on your server?

 If you have mod_php installed, use AddHandler to map .php and .phtml files to the PHP handler. AddHandler application/x-httpd-php .phtml .php

Questions : 35 :: Which tool you have used for Apache benchmarking?

ab (Apache bench)ab -n 1000 -c 10 http://www.test.com/test.html

Questions : 36 :: Can we cache files which are viewed frequently?

Yes we can do it by using mod_file_cache module.CacheFile /www/htdocs/index.html

Questions : 37 :: How to check the version of Apache server ?

rpm -qa |grep httpd

Questions : 38 :: What is DocumentRoot ?

it is a location of files which are accessible by clients. By default, the Apache HTTP server in RedHat Enterprise Linux is configured to serve files from the /var/www/html/...View answers

Questions : 39 :: On which port Apache server works ?

http – port 80https – port 443

Questions : 40 :: What is the main difference between and sections?

Directory sections refer to fileDirectory sections refer to file system objects; Location sections refer to elements in the address bar of the Web page system objects; Location sections refer to...View answers

Questions : 41 :: If you have only one IP address, but you want to host two web sites on your server. What will you do?

In this case I will use Name Based Virtual hosting. ServerName 10.111.203.25NameVirtualHost *:80 <VirtualHost *:80>ServerName web1.test.comDocumentRoot...View answers

Questions : 42 :: Can we do automatically roll over the Apache logs at specific times without having to shut down and restart the server?

YesUse CustomLog and the rotatelogs programsAdd following line in httpd.conf file. CustomLog “| /path/to/rotatelogs /path/to/logs/access_log.%Y-%m-%d 86400″...View answers

Questions : 43 :: What we can do to find out how people are reaching your site?

Add the following effector to your activity log format. %{Referer}

Questions : 44 :: I want to stop people using my site by Proxy server. Is it possible?

<Directory proxy:http://www.test.com/myfiles>Order Allow,DenyDeny from allSatisfy...View answers

Questions : 45 :: If Some One want Apache server should handle multiple requests over a single TCP connection. Which of the following would allow to do this?

A. ExpirationsB. BrowserMatchC. KeepAliveD. PersistentConnectE. ChunkEncode

Questions : 46 :: How to install it?

How to install Apache There are numerous ways of installing the package or application.  There are enlisted below - One of the features of this open source web application is that anyone can...View answers

Questions : 47 :: What is Virtual Host?

An Apache web server can host multiple websites on the SAME server. You do not need separate server machine and apache software for each website. This can achieved using the concept of Virtual...View answers

Questions : 48 :: How to Run PHP/Ruby with Apache ?

Running Php files on Apache needs mod_php enabled on your server.  It allows Apache to interpret .Php files.  It has Php handlers that interpret the Php code in apache and send HTML to your...View answers

Questions : 49 :: How to secure your Apache Web Server ?

Securing your web server is very important, it means allowing others to see only the intended information & protecting your data and restricting access. These are common things that enhance your...View answers

Questions : 50 :: How to manage Apache Logs ?

Apache logs provide detailed information that help to detect common issues with server. In order create logs, mod_log_configmodule must be enabled. There are three directives available in apache...View answers

Questions : 51 :: How to Configure your very first Production Web Sever ?

1.  In order to have a running production web server, you need a dedicated node (Physical/Virtual or cloud instance) running Linux/Unix, Windows, MacOS etc.  2.  The Web Server must...View answers
More Question

Ask your interview questions on Apache

Write Your comment or Questions if you want the answers on Apache from Apache Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---