Apache Web Server Ppt



APACHE WEB SERVER Multiple Choice Questions :-

1. What does the following set of Directives do? AddType application/x-httpd-php3 .php3.
a. Adds all files with the extension .php3 to the MIME Type application/x-httpd-php3.
b. Creates a new user defined type that can be used subsequently in variable declarations.
c. Makes it easier to load new definitions into the configuration files.
d. Installed the php3 software onto the system.

  • The server will exit in a few seconds. However, if you do have Apache installed as a service, the shortcut starts the service. If the Apache service is running already, the shortcut doesn't do anything. If Apache is running as a service, you can tell it to stop by opening another console window and entering.
  • Apache HTTP Server 2.4.46 (httpd): 2.4.46 is the latest available version 2020-08-07.

2. What does the HostNameLookups double do?
a. Makes Apache perform 2 forward name lookups from different DNS servers to confirm the host name prior to logging.
b. Performs a host name lookup in the double file prior to logging the result.
c. Performs both a reverse name lookup and then a forward name lookup on that result, prior to logging the result.
d. Sets the host name to double for all host names logged.

Apache - Free download as Powerpoint Presentation (.ppt), PDF File (.pdf), Text File (.txt) or view presentation slides online.

3. On a Microsoft Windows server the Max Spare Servers sets the number of idle child server processes that are allowed before the parent process begins to kill off the idle child processes. True or False?
a. True
b. False

4. What does the -v option do during startup?
a. Starts Apache in verbose mode with maximum logging.
b. Has no impact on Apache and has been discontinued as of Apache 1.2.6.
c. Displays the version of Apache and the build date and exits.
d. Disables virtual hosting for the specified virtual host name(s..

5. What does the mod_dir Module provide?
a. It provides a basic file directory searching capability for Apache to resolve spelling mismatches.
b. It provides trailing slash “/” redirects and serving diectory index files.
c. It allows remote synchoronizaiton for tools such as Microsoft Frontpage.
d. It has been discontunued as of Apache 1.2 and is no longer used.

6. What action(s. must be done to enable cookies within Apache?
a. Only installing the mon_usertrack.
b. Installing mod_cookies.
c. Installing mon_usertrack and setting the Directive cookietracking on.
d. Only setting the Directive cookietracking on.

7. What option in the IndexOptions Directive is only available after Apache 1.3.10?
a. FancyIndexing
b. IconHeight
c. NameWidth
d. FoldersFirst

8. What Module is CacheSize used with?
a. mod_proxy
b. mod_ssl
c. mod_usertrack
d. mod_alias

9. What does the SendBufferSize Directive do?
a. Sets the internal IPC buffer settings to the specified amount.
b. Sets the number of 4k buffers in Windows for optimal disk buffering.
c. Sets the TCP buffer size to the specified amount.
d. Allows the default SMB TCP delay to be overridden.

10. What is the function of the mod_imap Module?
a. Handles IMAP e-mail protocols for Apache.
b. Performs image map handling.
c. Allows for shared inter-module memory protocols.
d. There is no mod_imap Module which is available for Apache.

11. By default, where are the HTML files located for the default site on a Windows Apache server?
A. C:Inetsrvwwwroot
B. C:Program FilesApache Software Foundation
C. C:Program FilesApache Software FoundationApache2.2www
D. C:Program FilesApache Software FoundationApache2.2htdocs
E. C:Program FilesApache Software FoundationApache2.2htdocswww

12. Where is the default location for the main Apache configuration file (httpd.conf. on Windows?
A. C:Program FilesApache Software FoundationApache2.2conf
B. C:Program FilesApache Software FoundationApache2.2conftextra
C. C:OpenSSLconf
D. C:Program FilesApache Software FoundationApache2.2configuration

13. What is the default extension for Apache configuration files?
A. .con
B. .conf
C. .txt
D. .configuration
E. .xml

14. Which of the following is not a valid protocol for PCI compliance?
A. SSLv2
B. AES-SHA 56 bit
C. SSLv1
D. All of the above

APACHE WEB SERVER Objective type Questions with Answers

15. What is the recommended directive to load the Intermediate certificate(s.?
A. SSLCertificateFile
B. SSLCACertificateFile
C. SSLCertificateChainFile
D. SSLCACertificatePath

16. If a certificate is issued off of the DigiCert High Assurance CA-3 certificate, how many Intermediate certificate files (.crts. will need to be specified in the Apache configuration file?
A. One
B. Two
C. Three
D. None

17. Where are the Apache log files located by default?
A. C:Program FilesApache Software FoundationApache2.2log
B. C:Program FilesApache Software FoundationApache2.2htdocs
C. C:Program FilesApache Software FoundationApache2.2conf
D. C:Program FilesApache Software FoundationApache2.2logs

18. What’s the location of log files for Apache server?
A. /deck/log/httpd
B. /var/log/httpd
C. /drive/log/httpd
D. /location/log/httpd

19. What’s the Comamnd to check the version of Apache server?
A. rpm -qa |grep | version http|
B. rpm –qa |grep httpd
C. rpm -qa |check http | version
D. rpm -qa |grep http | version

Apache Web Server Ppt Download

20. Does Apache act as Proxy server?
A. can’t be determined
B. Yes, by default
C. yes,using mod_proxy module.
D. No

Apache Web Server Ppt Presentation

21. Apache server works on which ports?
A. http – port 80 only
B. Both http – port 80 and https – port 443
C. https – port 443 only
D. none of these

22. How do you change the default web root?
A. Change the DocumentRoot in httpd.server file.
B. change the DocumentRoot n httpd.admin file.
C. change the DocumentRoot in httpd.root file.
D. change the DocumentRoot in httpd.conf file.

23. What’s the command to stop Apache?
A. apachectl -k exit /etc/init.d/apache2 exit (Linux.
B. apachectl -k run /etcfiit.d/apache2 stop (Linux.
C. apachectl -k interact /etc/init.d/apache2 stop (Linux.
D. apachectl -k stop /etc/init.d/apache2 stop(Linux.

24. Which of the following is true about the Apache HTTP server?
A. can be customised by writing ‘modules’ using the Apache module API
B. is a powerful flexible, HTTP/1.1 compliant web server
C. All of these
D. implements the latest protocols, including KTTP/1.1 (RFC2616.

25. If you specify both deny from all and allow from all, what will be the default action of Apache?
A. Can’t be determined
B. Only allow will be performed.
C. Deny always takes precedence over allow
D. Allow always takes precedence over deny.

26. What’s the command to Restart Apache?
A. apachectl -k restart /etc/init.d/apache2 system
B. apachectl –k restart /etc/init.d/apache2 restart
C. apachectl -k run /etc/init.d/apache2 restartsystem
D. apachectl -k perform /etc/init.d/apache2 restart

27. htpasswd:
A. it creates a new user
B. None of these
C. asks to specify a password for that user
D. Both it creates a new user and asks to specify a password for that user

28. To cause the Web server to work around the NFS locking limitations, include a line such as the following in your server configuration files:
A. None of these
B. Lockfile /var/run/apache-lock
C. SetFile/var/run/apache-access
D. CreateFile /var/run/apache-startup

APACHE WEB SERVER Questions and Answers pdf Download

How-To / Tutorials

Authentication and Authorization

Authentication is any process by which you verify that someone is who they claim they are. Authorization is any process by which someone is allowed to be where they want to go, or to have information that they want to have.

See: Authentication, Authorization

Access Control

Access control refers to the process of restricting, or granting access to a resource based on arbitrary criteria. There are a variety of different ways that this can be accomplished.

See: Access Control

Dynamic Content with CGI

The CGI (Common Gateway Interface) defines a way for a web server to interact with external content-generating programs, which are often referred to as CGI programs or CGI scripts. It is a simple way to put dynamic content on your web site. This document will be an introduction to setting up CGI on your Apache web server, and getting started writing CGI programs.

See: CGI: Dynamic Content

.htaccess files

.htaccess files provide a way to make configuration changes on a per-directory basis. A file, containing one or more configuration directives, is placed in a particular document directory, and the directives apply to that directory, and all subdirectories thereof.

See: .htaccess files

HTTP/2 with httpd

Apache 2 Web Server

HTTP/2 is the evolution of the world's most successful application layer protocol, HTTP. It focuses on making more efficient use of network resources without changing the semantics of HTTP. This guide explains how HTTP/2 is implemented in httpd, showing basic configurations tips and best practices.

See: HTTP/2 guide

Introduction to Server Side Includes

SSI (Server Side Includes) are directives that are placed in HTML pages, and evaluated on the server while the pages are being served. They let you add dynamically generated content to an existing HTML page, without having to serve the entire page via a CGI program, or other dynamic technology.

See: Server Side Includes (SSI)

Per-user web directories

On systems with multiple users, each user can be permitted to have a web site in their home directory using the UserDir directive. Visitors to a URL http://example.com/~username/ will get content out of the home directory of the user 'username', out of the subdirectory specified by the UserDir directive.

See: User web directories (public_html)

Reverse Proxy guide

Apache httpd has extensive capabilities as a reverse proxy server using the ProxyPass directive as well as BalancerMember to create sophisticated reverse proxying implementations which provide for high-availability, load balancing and failover, cloud-based clustering and dynamic on-the-fly reconfiguration.

See: Reverse proxy guide

Apache Web Server Ppt

Apache Web Server Windows

Rewriting URLs with mod_rewrite

Apache Web Server Ppt Template

Rewriting URLs with (and without) mod_rewrite tends to be one of the most frequently asked topics on our mailing lists and IRC channels. We have devoted and entire section of our documentation to howtos and recipes around this topic.