Here’s a simple example of how to use openssl to create a public-private key-pair, then use that key-pair to encrypt and then decrypt some sample data.
So far we have configured web servers to allow connections via the http protocol. However http is not secure which is why it’s better to use https. When using https, we actually encrypt all data traffic using Symmetric and Asymmetric Encryption. To setup the above encryption system on our Apache […]
Common Gateway Interface (CGI) is a protocol that let’s you run custom scripts via the web. It’s not as commonly used as before, but you still need to know this as part of the RHCE exam objectives. In Apache, there is a default folder where you can place scripts in, […]
Virtual Hosts is one of Apache’s most powerful and commonly used feature. Virtual Hosts (aka vhosts) let’s allows you to host multiple websites on a single machine. There are 2 big advantages to this: Rather than needing one ip address per website, you know just need one ip address for […]
In the previous tutorial, we saw how we can host multiple websites on the same box using vhosts. Now we’ll look at how we can configure Apache to password protect some web content. In Apache you can set up authentication so that when a user attempts to access a given […]