Category: Servers

There is virtually no situation in software architecture that entirely frees you from security considerations. With microservices, some issues become more distinct and a lot harder. However, there are also a few features of microservices that can bolster security. With microservices, the network is still a …

8 best practices for microservices security Read More »

Tagged with: , ,

I’ve upgraded my dev server to latest version of Debian. Everything was going smoothly until I’ve got an error from mysql-server that it cannot be installed due to an error. I checked few websites that I have there running and all of …

MySQL not starting – unknown variable table_cache Read More »

Tagged with: , , ,

In this quick tip I’ll show you how to install the PHP extensionmcrypt. This is needed for Magento to run properly otherwise you’ll get an error like: [cc type=”text” escaped=”true”]Fatal error: Call to undefined function mcrypt_create_iv() in lib/Varien/Crypt/Mcrypt.php on line 64[/cc] …

Install PHP mcrypt on UNIX server Read More »

Tagged with: ,

If you are running your site on a shared hosting and you have multiple domain installed as subdirectories the things could go out of hand really fast. In my specific case I have multiple installs of different CMS and one …

Serve main domain from subdirectory with .htaccess Read More »

Tagged with: , ,

In the general case the website caching happens on the server side where the PHP output or database objects are cached in static files or in the server RAM. That could work pretty good but we could improve that and …

HTTP cache control on a dynamic PHP page Read More »

Tagged with: , , ,

I was trying to install GIT on a CentOS 6.2 development server and ran into very odd problem: [cc lang=”text” escaped=”true”]# yum install git Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * epel: nl.mirror.eurid.eu Setting up Install …

Installing git on CentOS and Dependencies hell Read More »

Tagged with: , , ,

The problem If you use MacOS and Chrome browser (recently this has been reported under other browsers and OS as well) you might have experienced an issue when downloading any Microsoft documents like Word, Excel, PoerPoint their file extension is …

Force MS document’s extension and MIME type through .htaccess Read More »

Tagged with: , , , , ,

I am having problems with a dynamically created images.xml being cached in internet explorer. The xml file is used by a flash slideshow player and for different pages on the site, has different images to show. IE isn’t reading the …

Prevent caching of XML files with Apache .htaccess rules Read More »

Tagged with: , , , , , , , , , , , ,

If you have a website for sure you have come to the point wondering how to redirect all visitors to the WWW part of the domain. This is small tip explaining in details the actual .htaccess redirect. Enough talking let’s …

Htaccess – redirect domain to WWW Read More »

Tagged with: , , , , ,