With default rewriting behavior enabled for the portal, i was unable to view list of sites. After disabling rewrite for the share url, i can view sites and perform most functions, but the document library and calendar pages don't function properly – receive a permission denied error from the browser (lower left-hand corner). For example, no items display on the document library tab.