Add Access Control Allow Origin Region(CORS) in NGINX? Date Posted: 31-08-2017 In this post, we will explain on how to allow cors (Cross Origin Region) on nginx. We may have seen the following on google chrome console or firefox firebug addon. No ‘Access-Control-Allow-Origin’ header is Prerequisites: Nginx Webserver.  If nginx… Continue Reading Allow Cross Origin Region(CORS) in NGINX

Block wordpress login attacks on csf Date Posted: 30-08-2017 csf is a firewall used to manage firewall rules in an easy way. By default, it blocks incorrect ssh login attempts, failed imap login. In this post, we will explain on how to block wordpress failure login on csf firewall. Prerequisites:… Continue Reading Block wordpress login attacks on csf

Limiting/throttling bandwidth for cPanel user account Date Posted: 29-08-2017 There are few accounts on cPanel uses more bandwidth. This post explains on how to throttle/limit the bandwidth on particular cPanel account Prerequisites: cPanel/WHM access Server Root Access bw_module, bwlimited_module. To check whether the module is installed or not, use the… Continue Reading Limiting/throttling bandwidth for cPanel user account

Modify virtualhost for single domain on cPanel(Apache 2.4) Date Posted: 27-08-2017 Latest cPanel comes with apache 2.4 and if we want to edit particular domain virtualhost, this post explain on how to modify virtualhost for single domain. Prerequisites: Centos 7 cPanel/WHM installation. Server root ssh access. Implementation: Login to the… Continue Reading Modify virtualhost for single domain on cPanel(Apache 2.4)

Posted Date:26-08-2017 In this post we will explain how to create cash receipts denominations using php,jquery Step 1: Include jQuery  Plugin and css <source src=”http://code.jquery.com/jquery-2.2.4.min.js” integrity=”sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=” crossorigin=”anonymous”></source> <source type=”text/javascript” charset=”utf8″ src=”https://cdn.datatables.net/1.10.15/js/jquery.dataTables.min.js”></source> Step 2:Include following css code inside head tag .mul_by{ width: 10%; } .mul_by .form-control{ display: inline-block; width: 66%; padding:… Continue Reading cash receipts denominations using php,jquery

Posted Date:26-08-2017 In this post we will explain eval and  Dynamic IF statements  using php Eval: eval — Evaluate a string as PHP code. Php code must be properly terminated using a semicolon. A return statement will immediately terminate the evaluation of the code. Syntax: eval(phpcode) Example: Simple example of eval php using simple… Continue Reading Dynamic IF statements using php

Setup redirection using Proxypass, proxyreversepass on apache Date Posted: 24-08-2017 There are scenarios like we would like to forward the request to different domain or different port. However, the URL on the browser should remain the same. In this post, we will explain on how to setup redirection using proxypass.… Continue Reading Setup redirection using Proxypass, proxyreversepass on apache

Setup redirection from one domain to another domain on .htaccess Date Posted: 24-08-2017 Scenario: There are scenarios like where we want to redirect onedomain to another domain. We can use .htaccess to achieve the same. Prerequisites: Ubuntu or centos Server Apache 2.4 or apache 2.2 Rewrite module. You can verify… Continue Reading Setup redirection from one domain to another domain on .htaccess

ConfigServer Mail Manage(cmm) on cPanel/WHM server Date Posted: 23-08-2017 Configserver mail manage(cmm) is an interface to manage mail accounts within WHM itself. This is free and it can be integrated easily to WHM. Prerequisites: cPanel/WHM access Server SSH access Implementation: Login to the server as root. Change the directory to… Continue Reading ConfigServer Mail Manage(cmm) on cPanel/WHM server

ConfigServer Mail Queues(cmq) on cPanel/WHM server Date Posted: 23-08-2017 Configserver Mail queue(cmq) is an interface to manage exim mail queue from WHM/cPanel. This is free and it can be integrated easily to WHM. Prerequisites: cPanel/WHM access Server SSH access Implementation: Login to the server as root. Change the directory to… Continue Reading ConfigServer Mail Queues(cmq) on cPanel/WHM server