Can HRA and Housing Loan can be given in tax declaration form?

in my company only one thing had accepted. If i can get both is there any way to refund the taxed money?
I talk this in my comapany. They said if the own and rented house is in same city or district then can get only one benifit. In my case i am staying in bangaore and my own house is in bangalore only. Am i eligabel to get both benifit?