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. .htaccess
B. sitemap.xml
C. robots.txt
D. index.php
Answer: Option A
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 acronym URL stand for?
A. Uniform Retrieval Locator
B. Uniform Resource Locator
C. Unified Resource Locator
D. Universal Resource Link

Correct Answer: Option B


Explanation:
URL stands for Uniform Resource Locator, which is a reference to a web resource that specifies its location on a computer network and a mechanism for retrieving it.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which of the following HTTP methods is used to retrieve data from a server without affecting the resource?
A. DELETE
B. GET
C. PUT
D. POST

Correct Answer: Option B


Explanation:
The GET method requests data from a specified resource and should not have any side effects (idempotent). POST is for sending data, PUT for updating, DELETE for removing.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which of the following is an example of a web-based version control system?
A. GitLab
B. Bitbucket
C. All of the above
D. GitHub

Correct Answer: Option C


Explanation:
GitHub, GitLab, and Bitbucket are all web-based platforms for hosting and managing Git repositories.

This question belongs to: Computer Internet and Web Technologies