Quantcast
Image

Search Results for: home

How to redirect HTTP to HTTPS in Apache

By  •  November 28, 2023

HTTP (HyperText Transfer Protocol) is used for transferring web content. By itself, HTTP does not encrypt the data, which means that information can be intercepted and read by third …
Read More

How to secure against clickjacking in Apache

By  •  November 28, 2023

Clickjacking is a malicious technique where an attacker tricks a user into clicking on a hidden element, potentially leading to unauthorized actions on a web application. It's a significant …
Read More

How to record POST request data in Apache

By  •  November 28, 2023

By default, Apache logs only basic information about incoming requests, such as the client's IP address, the requested URL, and the response status code. However, the actual data sent …
Read More

How to limit connection bandwidth in Apache

By  •  November 28, 2023

Managing bandwidth is crucial for servers, especially when multiple clients download large files simultaneously. By controlling the speed or throttling download speeds, you can provide a balanced and efficient …
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 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 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.

Top