On Mon, 2009-08-10 at 15:16 +0300, Vytautas Čivilis wrote:
> Hi, Zdanek.
> 
> Thanks for response.
> 
> I was following all the wikis I could find (including this one).
> 
> In the end, the next day resources appeared in the same magic manner.
> My guess, this was related to caching. Yet, though I did multiple
> re-activations and restarts, which in turn should clear the cache. Just
> the guesses.

The activation will empty the Magnolia cache in default configuration.
However what might not have been emptied is the browser cache - since
the 404 you got originally has no cache headers at all, browser will use
whatever its default policy is (perhaps 24hours in your case?).

> So, it's now working ok, but it would be nice to know the origin of the
> issue.

Indeed. If you run into this again, try with different browsers and also
try to collect http headers (e.g. using Live HTTP Headers FF plugin).

Cheers,
Jan

> 
> 
> I have found the answer to my last question too - just go to the
> public instance AdminCentral - Configuration - Default URI, and change
> toURI to /demo-project.html (if that's your home page).
> 
> Vytautas
> 
> 
> Zdenek Skodik wrote:
> > Hi Vytautas,
> > 
> > please follow to 
> > 
> > http://wiki.magnolia-cms.com/display/WIKI/Running+Magnolia+in+the+root
> > +of+a+host
> > 
> > If these informations are not enough for you
> > just shoot back. Thanks
> > 
> > -  
> > Best regards,
> > 
> > Zdenek Skodik
> > Magnolia International Ltd.
> > 
> >   Meet us at the Magnolia Conference
> >   http://www.magnolia-cms.com/conference
> > 
> > Magnolia®  - Simple Open-Source Content Management
> > 
> > 
> > On So, 2009-08-08 at 22:51 +0300, Vytautas Čivilis wrote:
> >> Hi, new potential user here :]
> >>
> >> I'm playing around with Magnolia 4.1 + stk 1.1, still struggling :D
> >>
> >>
> >> I try to do the following: launch author instance together with public
> >> instance on the same local tomcat 6.0.18 with the following
> >> configuration: author instance on localhost:8080/magnoliaAuthor
> >> (default), public instance on localhost:8080/
> >>
> >> First, started with default setup (/magnoliaAuthor + /magnoliaPublic),
> >> which worked fine (with lots of restarts though).
> >>
> >> As a second step, I moved /webapps/magnoliaPublic to /webapps/ROOT ,
> >> launched this setup, changed the subscriber in authoring instance to
> >> http://localhost:8080/ (looks like they get in touch after that).
> >>
> >> After this transformation (and some restarts, again), the public
> >> instance (on ROOT) didn't quite work - I imagine because of persistent
> >> caching on the filesystem? Even the adminCentral frame was displaying
> >> 404. Anywho, de-activate and activate again the pages on authoring
> >> instance did help - adminCentral on public instance works, and the home
> >> page is shown.
> >>
> >> Now, the problem is that this home page doesn't display styles (and
> >> other resources) - and that's because they are suddenly missing (sight).
> >> I.e.
> >> /stk-resources/site/resources/templating-kit/themes/pop/css/styles.css
> >> is missing, and in adminCentral - Templating Kit - Resources, nothing's
> >> there anymore. I imagine resources should be here, as the STK was
> >> installed to public instance too, and it did work ok with default
> >> non-ROOT configuration.
> >>
> >> It would be nice to solve this problem.
> >>
> >>
> >>
> >> On the side note, if we talk about root page, how can I enable the root
> >> page, and not a redirect to first page (e.g. demo-project). I guess
> >> there should be some configuration option somewhere.
> >>
> >> Thanks in advance,
> >> Vytautas
> >>
> >> ----------------------------------------------------------------
> >> For list details see
> >> http://www.magnolia-cms.com/home/community/mailing-lists.html
> >> To unsubscribe, E-mail to: <[email protected]>
> >> ----------------------------------------------------------------
> > 
> > 
> > ----------------------------------------------------------------
> > For list details see
> > http://www.magnolia-cms.com/home/community/mailing-lists.html
> > To unsubscribe, E-mail to: <[email protected]>
> > ----------------------------------------------------------------
> > 
> > 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to