Category: Servers

8 best practices for microservices security

8 best practices for microservices security

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

Tagged with: , ,

MySQL not starting – unknown variable table_cache

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

Tagged with: , , ,

Install PHP mcrypt on UNIX server

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]

Tagged with: ,

Serve main domain from subdirectory with .htaccess

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

Tagged with: , ,

HTTP cache control on a dynamic PHP page

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

Tagged with: , , ,

Installing git on CentOS and Dependencies hell

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: Setting up Install

Tagged with: , , ,

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

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

Tagged with: , , , , ,

Prevent caching of XML files with Apache .htaccess rules

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

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

Htaccess – redirect domain to WWW

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

Tagged with: , , , , ,