<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Preview Website: Is this a Bug? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/preview-website-is-this-a-bug/m-p/99368#M68682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You may already have fixed it, but I just thought I'd better mention that &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the refresh is also required to preview a non-ROOT webapp in copy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;deployed to an Alfresco server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Aug 2007 03:19:56 GMT</pubDate>
    <dc:creator>sacco</dc:creator>
    <dc:date>2007-08-22T03:19:56Z</dc:date>
    <item>
      <title>Preview Website: Is this a Bug?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/preview-website-is-this-a-bug/m-p/99362#M68676</link>
      <description>In the course of investigatinghttp://forums.alfresco.com/viewtopic.php?t=8207I discovered that I can Create a new Webapp Folderwithin a Web Project, and that I can subsequently select a Current Webapp Folder with which towork in the Web Client.&amp;nbsp; (I'm not yet sure exactlyhow or whether I intend to us</description>
      <pubDate>Mon, 20 Aug 2007 07:07:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/preview-website-is-this-a-bug/m-p/99362#M68676</guid>
      <dc:creator>sacco</dc:creator>
      <dc:date>2007-08-20T07:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Preview Website: Is this a Bug?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/preview-website-is-this-a-bug/m-p/99363#M68677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;P.S.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any chance we could have an option to switch to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mangling the path-part of the URL rather than the host-part.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have several situations where host-mangling is simply a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;complete non-starter (sometimes for multiple reasons).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Failing that, is there somewhere I can find definitive &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;documentation of all the structure and patterns of Virtual&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;host-names that can be generated as, if we are going to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;try to use the preview feature, I will probably have to fake a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;path-mangling solution by proxying and (yuck) filtering pages.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OK, so path-mangling isn't going to handle paths starting with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'/'without some co-operation from the webapp, but without that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;kind of co-operation host-mangling isn't going to take you too &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;much further (and in some cases will fail first).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, any page containing an ordinary &amp;lt;base &amp;gt; tag will break&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;host-mangling, and given that, just for example, several mobile &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Internet providers (stupidly, in my opinion) mangle base tags and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hostnames in order to reduce latency by pre-caching, that could&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;end up being pretty much every page!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 07:42:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/preview-website-is-this-a-bug/m-p/99363#M68677</guid>
      <dc:creator>sacco</dc:creator>
      <dc:date>2007-08-20T07:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Preview Website: Is this a Bug?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/preview-website-is-this-a-bug/m-p/99364#M68678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sacco:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your ROOT web app does need to have some content in it.&amp;nbsp; This is true to the servlet standard.&amp;nbsp; If you have at least some content within your ROOT web app, and you upload content or an entire web app into a second web app folder, preview should work.&amp;nbsp; The virtualization server was designed and built to support multiple web apps per web project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have an empty ROOT folder and simply add your WAR to a newly created web app folder, yes, this will not work.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 16:03:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/preview-website-is-this-a-bug/m-p/99364#M68678</guid>
      <dc:creator>kvc</dc:creator>
      <dc:date>2007-08-20T16:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Preview Website: Is this a Bug?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/preview-website-is-this-a-bug/m-p/99365#M68679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the quick response, Kevin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I create a webapp called&amp;nbsp; 'dummy' and within it an extra Webapp Folder called&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'sampleTarget'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put an index.html in each (&amp;amp; submit and approve it),&amp;nbsp; and mount the AVM filesystem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's what I see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;[root@cspc15 extension]# ls /srv/alfresco/cifs_2.1-a/AVM/dummy/HEAD/DATA/www/avm_webapps/&lt;BR /&gt;total 0&lt;BR /&gt;drwxr-x–x&amp;nbsp; 256 root root 0 Aug 20 18:05 ROOT/&lt;BR /&gt;drwxr-x–x&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 root root 0 Aug 20 18:06 sampleTarget/&lt;BR /&gt;[root@cspc15 extension]# ls /srv/alfresco/cifs_2.1-a/AVM/dummy/HEAD/DATA/www/avm_webapps/ROOT/&lt;BR /&gt;total 1&lt;BR /&gt;-rw-r—–&amp;nbsp; 1 root root 30 Aug 20 18:05 index.html&lt;BR /&gt;-rw-r—–&amp;nbsp; 1 root root 32 Aug 20 18:05 index2.html&lt;BR /&gt;[root@cspc15 extension]# ls /srv/alfresco/cifs_2.1-a/AVM/dummy/HEAD/DATA/www/avm_webapps/sampleTarget/&lt;BR /&gt;total 1&lt;BR /&gt;-rw-r—–&amp;nbsp; 1 root root 23 Aug 20 18:06 index.html&lt;BR /&gt;[root@cspc15 extension]#&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;With &lt;/SPAN&gt;&lt;STRONG&gt;Current Webapp Folder:&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;EM&gt;ROOT&lt;/EM&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;Preview Website&lt;/STRONG&gt;&lt;SPAN&gt; takes me to the following URL where I see the expected page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;A href="http://dummy.www--sandbox.avm.alfresco-21-a.DOMAIN.TLD:8180/" rel="nofollow noopener noreferrer"&gt;http://dummy.www--sandbox.avm.alfresco-21-a.DOMAIN.TLD:8180/&lt;/A&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;However, with &lt;/SPAN&gt;&lt;STRONG&gt;Current Webapp Folder:&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;EM&gt;sampleTarget&lt;/EM&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;Preview Website&lt;/STRONG&gt;&lt;SPAN&gt; takes me to the following URL where I get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[size=150]HTTP Status 404 - /sampleTarget[/size]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"The requested resource (/sampleTarget) is not available."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;A href="http://dummy.www--sandbox.avm.alfresco-21-a.DOMAIN.TLD:8180/sampleTarget" rel="nofollow noopener noreferrer"&gt;http://dummy.www--sandbox.avm.alfresco-21-a.DOMAIN.TLD:8180/sampleTarget&lt;/A&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I've just repeated this again in a hurry, so I'll check it again later when I have more time to see if there seems to be anything else that could be affecting the situation, but this is essentially the same result as I had this morning.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, the&amp;nbsp; index.html&amp;nbsp; in 'sampleTarget' can be downloaded via&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Browse Website&lt;/STRONG&gt;&lt;SPAN&gt; — it's just the &lt;/SPAN&gt;&lt;STRONG&gt;Preview&lt;/STRONG&gt;&lt;SPAN&gt; that doesn't &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;seem to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;t/s&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 16:24:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/preview-website-is-this-a-bug/m-p/99365#M68679</guid>
      <dc:creator>sacco</dc:creator>
      <dc:date>2007-08-20T16:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Preview Website: Is this a Bug?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/preview-website-is-this-a-bug/m-p/99366#M68680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Until recently (a few minutes ago),&amp;nbsp; after you created&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a non-ROOT webapp within a web project, you had&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to hit "Refresh" on the sandbox manually. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This usability bug has been filed in JIRA,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and has been fixed on the soon-to-be-released&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.1 ENTERPRISE branch.&amp;nbsp;&amp;nbsp;&amp;nbsp; For more details, see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://issues.alfresco.com/browse/WCM-768" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/WCM-768&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the time being, just hit 'Refresh' on the sandbox &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;manually after you add a non-ROOT webapp to a project,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and you should be all set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; - Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Jon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 19:27:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/preview-website-is-this-a-bug/m-p/99366#M68680</guid>
      <dc:creator>jcox</dc:creator>
      <dc:date>2007-08-20T19:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Preview Website: Is this a Bug?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/preview-website-is-this-a-bug/m-p/99367#M68681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great, thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Strange, though, I could have sworn that I'd tried that, but I guess I was &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;probably trying out several other things at the same time and never &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hit the button at the right time.&amp;nbsp; It's been a long day!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 19:34:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/preview-website-is-this-a-bug/m-p/99367#M68681</guid>
      <dc:creator>sacco</dc:creator>
      <dc:date>2007-08-20T19:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Preview Website: Is this a Bug?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/preview-website-is-this-a-bug/m-p/99368#M68682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You may already have fixed it, but I just thought I'd better mention that &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the refresh is also required to preview a non-ROOT webapp in copy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;deployed to an Alfresco server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 03:19:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/preview-website-is-this-a-bug/m-p/99368#M68682</guid>
      <dc:creator>sacco</dc:creator>
      <dc:date>2007-08-22T03:19:56Z</dc:date>
    </item>
  </channel>
</rss>

