Which of the following files contains structured, plain text settings used by the Apache web server to configure localized directory permissions and redirect behaviors? MCQ with Answer and Explanation

Which of the following files contains structured, plain text settings used by the Apache web server to configure localized directory permissions and redirect behaviors?
A. robots.txt
B. index.php
C. .htaccess
D. sitemap.xml
Answer: Option C
Solution (By JKSSB Mock Tests)
The .htaccess (hypertext access) file is a directory-level configuration file supported by several web servers to manage access controls and URL rewrites.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Internet and Web Technologies Questions

Question #1
Which of the following is a popular open-source web server software?
A. Tomcat
B. IIS
C. Nginx
D. Apache HTTP Server

Correct Answer: Option D


Explanation:
Apache HTTP Server is one of the most widely used open-source web servers. Nginx is also open-source, but Apache is more traditionally associated with the open-source label.

This question belongs to: Computer Internet and Web Technologies
Question #2
What is the term used to describe a localized or network-wide software program that intercepts web traffic to filter out adult content, malware sites, or unapproved domains in an office environment?
A. Web Content Filter
B. DNS Translation Router
C. Cookie Tracker Block
D. FTP Bridge Module

Correct Answer: Option A


Explanation:
Content filters screen inbound and outbound web requests against lists of categorized domains to block malicious or inappropriate content.

This question belongs to: Computer Internet and Web Technologies
Question #3
What is the function of the 'Default Gateway' setting in a computer's local network configuration panel?
A. To convert graphical web pages into text files
B. To clear out temporary cookie tracker entries automatically
C. To act as the routing address that local data packets use to exit the local area network and access external networks like the internet
D. To serve as a high-speed email storage facility

Correct Answer: Option C


Explanation:
The default gateway is the node or router on a computer network that serves as an access point to another network when an IP address does not match any local routes.

This question belongs to: Computer Internet and Web Technologies