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. sitemap.xml
B. .htaccess
C. index.php
D. robots.txt
Answer: Option B
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
What does the term 'Hypertext' mean in the context of the World Wide Web environment?
A. Text that is transmitted at speeds faster than fiber networks
B. Encrypted secure string text used inside user database units
C. Text written using machine language binary code values
D. Text that contains embedded links pointing to other documents or media files

Correct Answer: Option D


Explanation:
Hypertext is text that contains embedded electronic cross-references (hyperlinks), allowing users to easily jump from one piece of text to another related node.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which of the following bodies manages the allocation of IP addresses, domain name management, and protocol identifiers globally?
A. W3C
B. IETF
C. ICANN
D. IEEE

Correct Answer: Option C


Explanation:
ICANN (Internet Corporation for Assigned Names and Numbers) coordinates the global internet's systems of unique identifiers, including IP addresses and the Domain Name System.

This question belongs to: Computer Internet and Web Technologies
Question #3
What does the 'WWW' prefix in a URL usually signify?
A. The port number
B. The protocol used
C. World Wide Web, indicating the resource is on the web
D. The server hosting the site

Correct Answer: Option C


Explanation:
The 'www' prefix is a common subdomain indicating that the resource is part of the World Wide Web, though it is not required and many sites omit it.

This question belongs to: Computer Internet and Web Technologies