[opencms-dev] Strange behaviour when accessing an Offline resource

Thomas Maerz thomasmaerz at gmx.de
Fri Jan 21 08:01:36 CET 2005


"Ulrich Rueth" <lists at rueth.info> writes:

> I am using Firefox 1.0 on WinXP and OpenCms alpha 3. When clicking an
> Offline template resource in the OpenCms Explorer window, a second Firefox
  ^^^^^^^

> instance opens and correctly and displays the resource (e.g. with the URL
> http://localhost:8080/opencms/opencms/sites/software/latex/). If I now
> (without closing Firefox, without exiting from OpenCms and of course without
> shutting down Tomcat) open Internet Explorer and paste the _identical_ URL
> into the address bar, the page _cannot_ be displayed (HTTP 404). But, when
> opening a new Firefox instance and pasting the address, the same page is
> correctly displayed.

You don't get a new Firefox instance - without selecting a different
profile - when starting Firefox again. So in the newly opened Firefox
window you are still logged in to OpenCms with the same
CmsRequestContext as in the other Firefox windows. This means you have
also selected the Offline project in the new Firefox window.

> If I do the test vice versa, i.e. logging into OpenCms using IE, opening the
> resource in IE by clicking it in the OpenCms Explorer window and then
> copy-pasting the URL into a new instance of IE, the page is _not_ displayed.
> Same in Firefox, it cannot be displayed.

IE does create a new instance.

> Can anybody explain this behaviour? 

Publish your project and try the same.
Does the Guest User have permissions to see the files?
Does everything work with the default site root?


Regards,
Thomas




More information about the opencms-dev mailing list