My application is fully working at an url like myapp.com/ , the base directory is automatically loading index.html
When I edit the application to be a canvas app and setting its canvas url to myapp.com/ When accessing the page http://apps.facebook.com/myapp it gives me an error:
POST http://myapp.com/ 404 (Not Found)
Refused to display document because display forbidden by X-Frame-Options.
Anyone have an idea what could be the cause of this?