AnsweredAssumed Answered

Simple HTML Link Does Not Work In Web Project Sandbox

Question asked by tvo1003 on Jun 9, 2011
I have two html files:

File #1, index.html, contains the code:

<html>
  <body>
    <a href="xyz.html">link to xyz.html</a>
  </body>
</html>

File #2, xyz.html, contains the code:

</html>
  <body>
    <p>This is xyz.html</p>
  </body>
</html>

index.html has a link that, when clicked on, opens up xyz.html. When I add these two files to my User Sandbox and I click on index.html under the "Browse Files" box, index.html's link no longer works.

Here is the URL that is displayed for index.html when I open it:
http://xxxx:9999/alfresco/d/d/avm/website--admin/-1;www;avm_webapps;ROOT;index.html/index.html

When I click on the link in index.html, xyz.html does not load, but the URL changes to this:
http://xxxx:9999/alfresco/d/d/avm/website--admin/-1;www;avm_webapps;ROOT;index.html/xyz.html

If this was working correctly, the URL would change to this:
http://xxxx:9999/alfresco/d/d/avm/website--admin/-1;www;avm_webapps;ROOT;xyz.html/xyz.html

What is the cause of this error?

Any help will be much appreciated!

Outcomes