Asterisk GUI with

I am trying to add asterisk gui. I had installed latest version but when I try to access it only displays source of index.html.
I had searched around and I had seen few patches and few people mentioning same issue but no solution. Should I change asterisk.conf? Could somone help me fix the issue.

See: viewtopic.php?f=14&t=75822