Quantcast
Image

Search Results for: restart-service

How to disable HTTP methods in Apache

By  •  November 28, 2023

HTTP methods or verbs, such as GET, POST, PUT, DELETE, and others, define the type of action to be performed on a resource. While some of these methods are …
Read More

How to prevent hotlinking in Apache

By  •  November 28, 2023

Hotlinking, often referred to as bandwidth theft, happens when other websites directly link to images or other media files hosted on your server. This can lead to increased server …
Read More

How to add custom response header in Apache

By  •  November 28, 2023

Apache server response headers are an essential part of HTTP communication between the server and client. They provide information about the server, the resources being accessed, and additional metadata …
Read More

How to fix "Could not reliably determine the server’s fully qualified domain name" warning in Apache

By  •  November 28, 2023

When starting or restarting the Apache web server, you might come across a warning message: “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName.” …
Read More

How to enable HTTP/2 protocol support in Apache

By  •  November 28, 2023

The HyperText Transfer Protocol version 2 (HTTP/2) is a significant improvement over its predecessor, HTTP/1.1. With features like multiplexing, header compression, and server push, HTTP/2 offers faster web page …
Read More

How to enable HTTP Strict Transport Security (HSTS) for Apache

By  •  November 28, 2023

HTTP Strict Transport Security (HSTS) is a web security policy that enforces web browsers and other user agents to interact with websites solely over HTTPS. By ensuring connections are …
Read More

How to enable or disable Apache modules

By  •  November 28, 2023

Apache, one of the most widely used web servers, offers a modular architecture that allows users to extend its functionality by enabling or disabling specific modules. These modules can …
Read More

How to protect against DoS attacks in Apache

By  •  November 28, 2023

Denial of Service (DoS) attacks aim to render a server or network resource unavailable, overwhelming it with a flood of traffic. This can cause serious problems for websites and …
Read More

How to disable directory listing in Apache

By  •  November 28, 2023

If no DirectoryIndex (normally configured as index.html, index.htm, index.php, welcome.html) present in a directory, and if mod_autoindex is enabled (which by default is normally enabled), Apache would list the directory contents, as the following;

While useful for some cases, you would want to disable this feature (perhaps for security reason). There are few ways to do this.

How to restrict access to specific directories in Apache

By  •  November 28, 2023

Disabling access to certain directories in Apache is a common practice for security and privacy. Restricting access ensures that unauthorized users cannot access sensitive data or files.


Read More

Top