Tag: lt

Howto: disable Mod Security for an account

How to Turn off Mod Security OR How to disable Mod Security for an account? Mod_Security for an account is turned off/disabled on depending upon the version of Mod_Security i.e. it can be disabled in .htaccess file in modsecurity1 and have to disable it in VirtualHost entry of a domain […]

Moving files around to include hidden files

Often times when moving files from one directory to another, specifically when dealing with web folders, I have missed out the all important .htaccess hidden files with just the usual `mv source/* destination` command. Here’s a one liner that will include the hidden files too: $ ls -A <source> | […]

invalid byte sequence for encoding “UTF8″

Error: root@host [~]#  psql databasename < dump.sql ERROR:  invalid byte sequence for encoding “UTF8″: 0xd1e9 HINT:  This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by “client_encoding”. The above error is received while restoring a pgsql dump and […]