[opencms-dev] Site only accessible when logged in

Cesare Montresor c.montresor at netspin.it
Mon Feb 25 09:31:25 CET 2008


Yves Glodt wrote:
> On Thursday 21 February 2008, Yves Glodt wrote:
>   
>> Hello,
>>
>> for sure this is a FAQ, but I could not find any information about...
>> :-(
>>
>> I can access my site only when I am logged into the workspace. As
>> soon as  log out, and try to access the site, I get a 404 "A system
>> error reading a resource occured!"
>> The site has been completely published though...
>>
>> What do I need to change to make it accessible permanently?
>>     
>
> I answer myself...
>
> I had put the site in /sites/mysite.com, but it should be placed 
> in /sites/default/mysite.com ...
>
> But, this creates another strange problem.
> Now in fact I can only access the site when I am *not* logged into the 
> workspace. As long as I am logged in I get this error (not 404 from 
> Tomcat but an OpenCms-produced errorpage):
>
> Error reading resource from path "/mysite.com/index.html".
> Reason: Unable to read resource "/mysite.com/index.html". 
>
> Note that I see the same behaviour for the shipped demo-pages and 
> templateone-pages.
>
>   
>> Best regards,
>> Yves

When you are logged in your navigation is conditioned by current path 
and project (top combo boxes in workplace), try choose "/site/default" 
instead of "/" and check if the resource you are looking for is 
avaliable in your current project.

    i hope it help,
       Cesare



More information about the opencms-dev mailing list