Seeking inspiration from this question , I changed my web context folder name from say MyApp
to ROOT
and ROOT
to ROOT-BAK
but before changing MyApp to ROOT i made a index.html file in MyApp
.
It didn't work. so i changed everything again to the way it initially was.
ROOT
-> MyApp
and ROOT-BAK
--> ROOT
Now i have two completely disjoint questions -
I am working on AWS EC2 ( which is nothing but a computer running somewhere). There is a loadbalancer on top of it. When i changed the
MyApp
toROOT
inspite of having index.html my instance went out of service from ELB. Why did that happen ?After making everything as before when i hit my url, it gives me access denied. Why is it happening ?
i basically made two changes - one is create index.html in MyApp and other is renaming of folders.