I ususally use a reverse proxy on apache to handle this - the first directive maps the homepage to a page within magnolia, the second directive makes the public instance available and the third the author instance (ProxyRequests Off is used so the server can not be used as a reverse proxy from the outside for spamming)

       ProxyRequests Off

       ProxyPass / http://127.0.0.1:12080/public/home.html
       ProxyPassReverse / http://127.0.0.1:12080/public/home.html


       ProxyPass /public/ http://127.0.0.1:12080/public/
       ProxyPassReverse /public/ http://127.0.0.1:12080/public/

       ProxyPass /author/ http://127.0.0.1:12080/author/
       ProxyPassReverse /author/ http://127.0.0.1:12080/author/



Jan Haderka wrote:
I already gave you the answer - You need to change the mapping on the public 
instance.

On Jun 29, 2010, at 5:24 PM, [email protected] wrote:

Can't believe no one has answer on such common thing.

Sergey.

On Jun 29, 2010 3:28pm, Sergey Makhnist <[email protected]> wrote:
Jan, thank you for your valued answers.

I have 2 web applications on my tomcat. One is for author (cms.mydomain.com) 
and one for public. (mydomain.com).

Only at cms.mydomain.com I'm able to configure frontend part (mydomain.com).
So I expect to find some configuration of defaultPublicURI at backend 
(cms.domain.com) change it to redirect:/my-project. And after in my browser by 
request www.mydomain.com get redirected to mydomain.com/my-project.


Sergey.

On Tue, Jun 29, 2010 at 2:55 PM, Jan Haderka [email protected]> 
wrote:

Just let me get this straight. The mapping in question should point to 
adminCentral on the author (and it seems it does in your case), but it points 
to demo-project by default on _public_ instance and this is where you have to 
change it.
Or are you saying that on the _same_ instance you have mapping pointing to 
adminCentral while being actually redirected to demo-project?
Jan

On Jun 29, 2010, at 1:14 PM, Sergey Makhnist wrote:


Hmmm
I have following value (it's default value) here
redirect:/.magnolia/pages/redirect:/.magnolia/pages/adminCentral.html

However I expected to see something like that redirect:/demo-project.html.



And change of this value did not give the result. Still mydomain.com redirects 
to mydomain.com/demo_project.html


Plz, help me.


Sergey.

On Tue, Jun 29, 2010 at 2:04 PM, Jan Haderka [email protected]> 
wrote:


Configuration:/modules/adminInterface/virtualURIMappings/default/toURI

On Jun 29, 2010, at 12:40 PM, Sergey Makhnist wrote:



I'm using magnolia 4.3.2 community edition.
I have following issue with changing defaultPublicURI for public site.
When I click in admin part Tools->Config Info it shows defaultPublicURI value 
redirect:/demo-project.html.



I created a new project 'my-project' and would like default redirect to 
redirect:/my-project.html. E.g. http://domain.com should redirect automatically 
to
http://domain.com/my-project (not demo-project). I already set my-project as 
active.



How can I change defaultPublicURI? I was looking it everywhere with no result.

Thank you.















----------------------------------------------------------------

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