I have a vf page which I want my public site to display. The problem here is when I open the page it gives me "Authorization Required" error.
Now before you go ahead and vote down this question, here are a bunch of things I researched and did before posting it here.
1) I compared an old site setup for another client (where the vf page works) with the one I am doing now and the problem seems that the new setup has a different Site Type.
Site where vf pages work
Current site where the vf page is not working
2) I also checked the Public Access Settings for my non working site and it seems that all the required read access are there for custom objects being used in the site vf pages and their controllers.
3) The vf pages were also enabled for the site.
4) Another thing I noticed is that the working site has user license as Guest License, whereas the non working site has user license as Guest.
But when I am creating a site, it does not give me any option to choose the license type for the guest and just puts in Guest. From what I know Guest License and Guest are not the same.
How do I change the user license type for the site guest user? Or am I setting the site incorrectly?
I referred these links for site setup but it did not help me much: https://developer.salesforce.com/page/An_Introduction_to_Force.com_Sites https://help.salesforce.com/HTViewHelpDoc?id=sites_configuring_sites.htm&language=en_US