Apache Security

Apache httpd hardening

Introduction
Apache is one of the most widely-used and popular web servers. It is also one of the most secure web servers available. In this article, I will explain some tips and tricks that will secure your Apache server.

This is a generic ‘quick n dirty’ hardening profile.

 
Hide version:

 

 
Turn Off Server-Side Includes …Read More

Enable Apache UserDir In CentOS 7 / RHEL 7 with SELinux

htaccess https simple redirect

How to redirect HTTP traffic to HTTPS using an .htaccess file

The below code when added to an .htaccess file will automatically redirect any traffic destined for http: to https:

 

This is generic code, no domain or page or subfolder needed in the htaccess code.

HTTP error codes and fixes

Common HTTP Error codes and fixes

Here’s a list with the most common HTTP error codes and solutions for each one.

Error 500: Internal Server Error
Cause 1: Syntax error in .htaccess
Cause 2: Invalid files/directories permissions
Other causes
Errors 502: Bad Gateway & 504: Gateway Timeout

Error 503: Service Unavailable

Error 508: Resource Limit Is Reached

Error 500: Internal Server Error
Error 500

Cause 1: …Read More

Installing Virtualmin

What is Virtualmin?
Virtualmin is a powerful and flexible web hosting control panel for Linux and BSD systems. Available in an Open Source community-supported version, and a more feature-filled version with premium support, Virtualmin is the cost-effective and comprehensive solution to virtual web hosting management.
Requirements
Any of the below OSes and architectures:

Read More

Installing docker with Ubuntu 16.04 LTS, Mint 17 and CentOS 7

Installing docker with Ubuntu 16.04 LTS, Mint 17 and CentOS 7
A brief introduction to virtualization
Today we will learn installing docker with Ubuntu, mint and CentOS 7 Linux,  Before the evolution of the concept of virtualization, to run one application one dedicated server was required,  if you wanted to  run 20 …Read More

Things to do after installing Ubuntu 16.04 LTS

Things to do after installing Ubuntu 16.04 LTS
To have a fully functional and smoothly running Ubuntu 16.04 Desktop users need to have some services application running before they start working with this fresh flavor of Ubuntu, although it depends upon nature of services for which system will be utilized, we …Read More

Openstack

What is Openstack? A Quick OpenStack Tutorial

What is Openstack? A Quick OpenStack Tutorial
OpenStack – History and Introduction
OpenStack is a cloud operating system that controls large pools of compute, storage, and networking resources throughout a data center. All of the above components are managed through a dashboard which gives administrators control while empowering their users to provision …Read More

Protecting Apache Server From Denial-of-Service Attacks

Protecting Apache Server From Denial-of-Service Attacks

Protecting Apache Server From Denial-of-Service Attacks
Denial-of-Service (DoS) attack is an attempt to make a machine or network resource unavailable to its intended users, such as to temporarily or indefinitely interrupt or suspend services of a host connected to the Internet. A distributed denial-of-service (DDoS) is where the attack source is …Read More