For the record, here's how to replicate this issue, if you're too lazy to set up wildcard DNS.
1. In your config.php, set "cfg->cleanurls" and "$cfg->cleanurlusersubdomains" to true. 2. Add a subdomain to your /etc/hosts file for the username "user1". For example, for a local Mahara site at the domain "mahara.test" I would put this line in /etc/hosts: "127.0.0.1 mahara.test user1.mahara.test" 3. Do a clean Mahara install. 4. Create a user with username "user1" 5. Log in as user1, create a page, put a PDF block in that page, then make the page visible to the public. 6. View the page in display mode. It will be shown with a URL like "user1.mahara.test/pagename" Expected result: You should see the PDF content displayed in the PDF block. Actual result: The PDF block title shows up, but you do not see the PDF content. -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1399246 Title: PDF embeds fail in sites with subdomains for user pages Status in Mahara ePortfolio: Fix Committed Status in Mahara 1.10 series: Fix Committed Status in Mahara 1.8 series: Won't Fix Status in Mahara 1.9 series: Won't Fix Bug description: The PDF content block fails to render the PDF iframe in a user's View if Mahara is set up to have subdomain urls for users, e.g. http://mikekelly.mymahara.org/mikes-page This is due to the X-Frame SAMEORIGIN rule enforced for Mahara pages. The PDF is served from the main domain, while the View page is served from the subdomain. This does not affect group Views, or the editing interface for Views, where the user identifier subdomain part is not used in the url. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1399246/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

