Hi Matteo,

You can directly login to AdminCentral on the public instance to do that. Just use the path "/.magnolia" like in http://localhost:8080/magnoliaPublic/.magnolia (see topic 3 below ;-)

Ralf


Matteo Pelucco schrieb:

Hi Ralf,
I was reading on your reply to Amitava, and a question raise up to me:

how can you modify the default uri mapping for a public instance using AdminInterface? How can the change be forwarded to public? Is there maybe a sort of activation behind the scenes?

M.

Ralf Hirning ha scritto:

Hi Amitava,

these are the steps to do:

1. Magnolia is installed as a web application and all URLs need the web application context in the path. You installed the Magnolia bundle, so you have "magnoliaAuthor" for the authoring instance and "magnoliaPublic" for the public instance. As a result all URLs to the public instance must start with /magnoliaPublic. 2. You want to have public URLs to start with "/content". The easiest way is to rename the ewb application from "magnoliaPublic" to "content":
- shutdown you public instance
- rename the web application "magnoliaPublic" to "content".
- start Magnolia again.
You can then access the TestPage.html with http://locahost:8100/content/TestPage.html
3. Now you have to modify the default URI mapping.
- Login into your public instance using http://localhost:8100/content/.magnolia
- Go to "Default URI" in the Configuration menu.
- change the "toURI" value to "redirect:/TestPage.html"
Now you can try http://locahost:8100/content which should be redirected to /TestPage.html
4. The last step is to change the subscriber in your author instance:
- Login into your author instance
- Go to "Subscribers" in the Configuration menu
- rename the node magnoliaPublic8080 to content8100 (this is not necessary, but recommended) - open that node and change the URL value to http://localhost:8100/content

That's it

Ralf

Hi All,

I am using magnolia 3.6.3. I am running the author and public instances on two different ports and using two different instances of tomcat server.

I am trying to customize the URL of the public instance, i.e.

--> The current public URL is

http://locahost:8100/magnoliaPublic/TestPage.html


--> But I want my public URL to be

http://locahost:8100/content/TestPage.html

Can anyone please tell me, what the configurations required to implement
this. Also, I have tried to modify the value of the following node -

Admincentral --> configuration --> server --> activation --> subscribers -->
magnoliaPublic8080 --> URL

But it did not work. Please help.

Thanks & Regards,

Amitava Chakraborty.

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to