I recently had a vagrant box which was giving a 500 internal error and when checking the Apache error log I found the following error:
/vagrant/.htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
The problem is that headers module is not loaded in Apache so you need to load it and restart. SSH into your vagrant instance (or open a terminal if you’re having this problem on your local LAMP stack) and enable the module:
Then restart Apache
service apache2 restart
Editing the bashrc file in Elementary OS is an easy task, simply open it in your favorite text editor (Elementary OS comes with nano so you can use that).
sudo nano ~/.bashrc
Make any changes you need to that file and then press ctrl+o to save the file and ctrl+x to exit.
Don’t forget to reload your bashrc!
One of North Korea’s top level DNS servers was mis-configured today (20th September 2016) accidentally allowing global DNS zone transfers. This allowed anyone who makes a zone transfer request (AXFR) to retrieve a copy of the nation’s top level DNS data.
Continue reading North Korean DNS Leak reveals North Korean websites
Working with times and dates in Linux is a relatively easy task. Most GUI interfaces offer you a point and click method to update the time and date but what about the command line interface (CLI)?
Continue reading Setting the time and date in Linux
PHP Phalcon is one of my favourite PHP frameworks its so quick and powerful. Here is a quick guide on how to install it on Elementary OS. This guide presumes you are using Apache and have it working. If not please follow this guide to get Apache install on Elementary OS.
Continue reading Installing PHP Phalcon on Elementary OS
Unlike most other Linux distributions Elementary OS doesn’t come preinstalled with a LAMP stack. In this tutorial I will show you from start to finish. If you are interested in a certain part of the LAMP stack we have separate tutorials for you to read on those here, here and here.
Continue reading Install LAMP stack on Elementary OS
Sublime text is one of the best text editors out there and its cross platform. Its also free to use and try out to see if you like it or not. It also plays nicely with Elementary OS.
Continue reading Installing SublimeText3 on Elementary OS
A quick tip when using Lumen 5.2, if you try and include a feature you may get the error Class’Log’ not found for example. This is because be default, unlike Laravel facades are not loaded to save on resource and increase the framework speed.
Continue reading Lumen 5.2 Class ” Not found
I see this question asked many times and there never seems to be a definitive resource so in this post I hope to give you a high level overview of the things you will need to get started. Over the next few articles I will drill down into each section and expand on the points given.
Continue reading Where to start as a web developer/designer
This time we create a countdown timer.