Linux – Enable PHP Short Tags
Nov17

Linux – Enable PHP Short Tags

KB ID 0000886  Problem I have a particular web page that uses PHP short tags. Post migration from my old hosting company to a dedicated VPS, this stopped working. As I know little about Linux, and even less about PHP, I asked the question at Experts Exchange about why It was no longer working. I took no time at all, for someone who knew what they were doing to say, “Your code uses ‘Short tags’, but you do not have...

Read More
Apache Web Server – Change the Default Page
Nov17

Apache Web Server – Change the Default Page

KB ID 0000882  Problem Out of the box, Apache expects your website homepage to be called index, on this site the homepage is called home, here’s how to change it. Solution 1. Connect to the server via SSH, (or open a terminal session). The file you need to edit is called httpd.conf. This server is running CentOS, so you should find that file in the /etc/httpd/conf folder. 2. I’m going to edit it with nano. 3. Locate the...

Read More
Apache is Ignoring the .htaccess file
Nov17

Apache is Ignoring the .htaccess file

KB ID 0000890 Problem The .htaccess file is a file that lives in a directory on a web server. Its job is to provide ‘settings’ that would normally be set in the servers httpd.conf file. You can put a .htaccess file in any directory to control the settings for that directory, (providing .htaccess override has been allowed). After having some problems the other day, I made a change to mine, then reliased the change was not...

Read More