DEANO.ME

Apache & htaccess

 

htaccess

There is a mobile optimized version of this page, view AMP Version. UPDATED 17/08/2016 – Fixed a bug in the code, sorry! Some people still prefer to use www in their websites, however using www. is no longer a standard for websites and was invented when the internet first started as an indicator that you […]

 

htaccess

There is a mobile optimized version of this page, view AMP Version. Allot of outdated websites still use www. in their urls, however did you know this is very outdated behaviour invented way back when the internet first started? The whole idea of using www. was invented so that anyone seeing a URL would instantly […]

 

There is a mobile optimized version of this page, view AMP Version. If you have your own development server like us that are accessible across the internet using public IP or a domain name you may be having problems where somehow Google and other search engines find your development server and starts indexing it! This […]

 

There is a mobile optimized version of this page, view AMP Version. The other day a colleague was having a very puzzling problem with PHP POST Variables, he was posting an array of values from a large form but some of the values were missing from the $_POST variable. After looking through his code a […]

 

There is a mobile optimized version of this page, view AMP Version. Something that has been racking my brain this morning… I recently moved all the sites I host (including my own) to a new VPS server, everything went far smoother than I could have imagined and I thought I had escaped the pains that […]

 

There is a mobile optimized version of this page, view AMP Version. I came across a very weird and extremely annoying “feature” of Apache recently when configuring a clients web server. When linking to a file on the server, you could directly link to a file without specifying it’s file extension. so linking to: http://mysite/favicon […]

 

There is a mobile optimized version of this page, view AMP Version. This is something that has been irritating me for a while now, I like to remove and force removal of the www. in front of all websites that I own and host. However the only examples I have ever found online use the […]