Apache

Should I choose Apache with or without SSL?

When downloading Apache from apache.org for Microsoft Windows Operating System, you are given two options:

  1. Win32 Binary without crypto (no mod_ssl) (MSI Installer)
  2. Win32 Binary including OpenSSL 0.x (MSI Installer)

OpenSSL is an open-source implementation of SSL and TLS protocols. mod_ssl is a package that provides cryptography for Apache via SSL and TLS. SSL and TLS specify how to securely encrypt and send confidential information over HTTP.

Setting up virtual lamp stack on microsoft windows

Oracle's VirtualBox is a very solid and stable virtual machine but it isn't the simplest to work with. So I abandoned it a week after I started working with. Recently, I had to return. Why? Vagrant. It is a fantastic virtual machine workflow system. It is amazingly easy to use and deals with VirtualBox for you. On top of that there are many excellent stack available for free download from the Internet. Following is how I setup my LAMP stack.

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

###Problem###
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

###Solution###
This is not an error, only a warning.

To fix this in Ubuntu 12.04 LTS, type the following:

$ echo "ServerName localhost" | sudo tee /etc/apache2/conf.d/fqdn
ServerName localhost
$ sudo service apache2 restart

To fix this in Ubuntu 14.04 LTS, type the following:

echo "ServerName localhost" | sudo tee /etc/apache2/conf-available/fqdn.conf
sudo a2enconf fqdn