I have two SharePoint/MOSS installations using the same Solution. On one installation, surfing to the following URLs as an anonymous user give the following results:
http://site/Web/ => redirect to /site/Web/Pages/welcome.aspx
http://site/Web/Pages => redirect to /site/Web/Pages/welcome.aspx
http://site/Web/Pages/ => redirect to /site/Web/Pages/welcome.aspx
http://site/Web/Pages/welcome.aspx => welcome.aspx
However, on another installation, the results are thus:
http://site/Web/ => redirect to /site/Web/Pages/welcome.aspx
http://site/Web/Pages => Access denied
http://site/Web/Pages/ => Access denied
http://site/Web/Pages/welcome.aspx => welcome.aspx
When getting Access denied, and logging on, the redirect is performed as usual.
The two installations have slight differences regarding Farm setup and how sites are Extended, but nothing that is obviously relevant to the problem. Both installations have anonymous access setup so the above should work.
When the Access denied occurs, the SharePoint trace log file in Verbose mode shows the following:
- Looking up context site http://site/pages in the farm abcd235f139b-8396-4255-bc31-bc22de0a8337
- Looking up the additional information about the typical site http://site/pages.
- Site lookup is replacing http://site/pages with the alternate access url http://site.
- Looking up typical site http://site/pages in web application SPWebApplication Name=abcd Parent=SPWebService.
PermissionMask check failed. asking for 0x00001000, have 0x00030041
I've found this problem in the wild. Compare these two:
http://www.kahrs.com/de/Consumer/AboutKahrs/Pages => redirect to welcome page
http://www.moviatrafik.dk/Pages => Access denied