Rs.20,000 Only
Few days ago I and Kruti had been to IDBI bank (Virar branch) to deposit cash for the tour this year end. We are 2 couples and minimum amount payable for the tour package was Rs. 25000. We entered the bank and everything looked good, nicely painted in green which matched IDBI bank’s logo.
We went to the corner where 4-5 people were filling the slips to deposit cash/cheque. And when it was our turn there wasn’t a slip left for us. We asked the watchman who was standing near the door. And without saying anything he directed us to the counter where we can find the slip book. We got the slip book and started filling a slip of Rs. 25000 cash.
After filling the form we were standing in a queue. After about 15 mins it was our number. I handed over the slip the person who was collecting it. He look at us and said:
Amount greater than Rs. 20,000 is not allowed!
I and Kruti: What??
IDBI guy: Yes. Amount more than Rs.20,000 is not allowed for accounts which are out of state.
( The tour company was from Kerela )
Me: We are doing a tour. And it requires us to pay Rs.25,000 amount in advance.
IDBI guy: Ok. Let me talk to the manager.
He dialed some extension and started talking:
Madam, I have someone… BLAH BLAH BLAH..
hmm.. Ok.. So can we?.. Oh ok
Then
IDBI guy: Sorry sir we cant do that. We can only do it for “max” Rs. 20,000.
Me: Ok.
We left the queue. Thought for sometime. Then filled 2 slips, first with Rs. 15000 and second with Rs. 10000. First slip had my name and second slip was with Kruti’s name, and in queue again.
Soon it was our number and I gave him 2 slips.
IDBI guy: Sir, as I said before we cant do this.
Me: Now whats the problem? These are 2 different slips with the name of 2 different people.
IDBI guy: For one account, per day, out of state, we can only do Rs. 20,000 transaction.
Me: Ohho.. So you mean if there is a second couple who has to pay today after me, they cant go to honeymoon because of this?
IDBI guy: Yes. This account can only do Rs. 20,000 transaction “per day”.
At this moment I wanted to ROTFL.
Me: What kind of rule is this? And can you tell me where is this written?
Some lady voice from some meters away:
Hey, you are not suppose to argue there, whatever it is come here and talk
We went there and explained it to her.
IDBI lady: Whatever it is.. As we said we cant do it. This is a rule.. BLAH BLAH.. You are not suppose to argue.. BLAH BLAH
( AS IF THAT IS THE BEST WAY TO SAY THAT )
Kruti to Me: Lets just fill up Rs. 20,000 and call our tour guy and say we can only do Rs. 20,000 because of bank.
There was no reason to disagree.
Just filled the new slip of Rs. 20,000 and out of there.
Zero balance account
This is the discussion I had with Bank of Baroda, Borivli Branch on a phone call:
Me: Hello
BoB guy: Hello?
Me: Hi, I wanted to enquire why did my cheque bounced.
BoB guy: Ok. What was the amount?
Me: It was the whole amount I had in account. I have a zero balance account.
BoB guy: You cant do that. You need atleast Rs. 1000/- balance in account.
Me: But its a zero balance account!!
BoB guy: Yes. But zero balance account should have Rs. 1000/- balance.
Sinatra and MongoDB App
I have written a sample app using Sinatra and a database as MongoDB. The aim of the project was to learn Ruby and use one of the NoSQL databases.
I have pushed the code to GitHub.
HowTo: Forcing traffic to https
Here I consider two cases for forcing all the traffic to https and I assume you are using Apache Webserver.
Case A) Without LoadBalancer
Suppose you are running a site without a load balancer. Add these lines to your Apache configuration file:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Suppose you have Virtualhost entries for Http (port 80) and Https (port 443) then add this to VirtualHost entry of Http.
Case B) With LoadBalancer
Consider a scenario where you have a Loadbalancer and the communication between loadbalancer and server takes place like this:
1. When a request comes on port 80 of the loadbalancer it communicates with server on port 80 (i.e. LB Port 80 ==> Server Port 80)
2. And when a request comes on port 443 of the loadbalancer it communicates with server on port 80 (i.e. LB Port 443 ==> Server Port 80)
Here servers are always working on port 80.
If you are using Apache as a LoadBalancer you need to add this to the VirtualHost entry of https:
RequestHeader set X-Forwarded-Proto "https"
On the server add this to the VirtualHost entry of http:
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
This will forward all the incoming requests on http to https.
This also works with Amazon’s Elastic Load Balancer as it has a support for X-Forwarded-Proto and X-Forwarded-Port.




Recent Comments