Fóruns

Início » Liferay Portal » English » 2. Using Liferay » General

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
sharath karnati
How to change default URL for guest users.
5 de Novembro de 2009 07:23
Resposta

sharath karnati

Ranking: Junior Member

Mensagens: 79

Data de entrada: 22 de Outubro de 2009

Mensagens recentes

Hi All,

When I tried with defualt URL http://111.111.111.70:8080/ and it is changed to http://111.111.111.70:8080/ web/guest;jsessionid=AA800BA699B1EA316B856ACE1E3374EB this URL.

I'd like to show /home in place of /web/guest in default URL, how to do this. Where I need to change this?

Thanks in advance.

Regards,
Sharath.
Jonas Yuan
RE: How to change default URL for guest users.
5 de Novembro de 2009 07:33
Resposta

Jonas Yuan

Ranking: Liferay Master

Mensagens: 993

Data de entrada: 26 de Abril de 2007

Mensagens recentes

Hi Sharath,

You may take following tasks

1) apply virtual hosting on Guest community;
2) disable jsession.

For example,
http://www.sesamestreet.org

Hope that it helps,

Jonas Yuan
-----------------
The Author of Liferay Books:
Liferay Portal 5.2 Systems Development
Liferay Portal Enterprise Intranets
sharath karnati
RE: How to change default URL for guest users.
5 de Novembro de 2009 11:00
Resposta

sharath karnati

Ranking: Junior Member

Mensagens: 79

Data de entrada: 22 de Outubro de 2009

Mensagens recentes

Hi Jonas,

I'm not looking for virtual host.

Say when I use default URL http://111.111.111.70:8080/ it is adding /web/guest and displaying page.

Where I need to change so that it will add /home in place of /web/guest rather than configuring virtual host.

Thanks for your help.

Regards,
Sharath.
Dhrutika Vyas
RE: How to change default URL for guest users.
6 de Novembro de 2009 04:53
Resposta

Dhrutika Vyas

Ranking: Expert

Mensagens: 435

Data de entrada: 9 de Fevereiro de 2009

Mensagens recentes

sharath karnati:
Hi Jonas,

I'm not looking for virtual host.

Say when I use default URL http://111.111.111.70:8080/ it is adding /web/guest and displaying page.

Where I need to change so that it will add /home in place of /web/guest rather than configuring virtual host.

Thanks for your help.

Regards,
Sharath.


Hi,

If you want to replace /web/guest by /home...,you must need to go for virtual hosting,
Because if you go to manage pages and see URL of any page ,it always will have /web/guest embeded in it.
then you can set this in your portal-ext.properties.

company.default.home.url=/home

So this will redirect to home page.
And if you dont want to do virtaul hosting

company.default.home.url=/web/guest /home

For Virtual Hosting you can refer as Jonas mentioned.


Thanks,

Dhrutika Parekh

Cignex Technologies Pvt Ltd
Asif Anwar
RE: How to change default URL for guest users.
14 de Janeiro de 2010 13:46
Resposta

Asif Anwar

Ranking: New Member

Mensagens: 3

Data de entrada: 31 de Dezembro de 2009

Mensagens recentes

Hi,

In case anyone else finds this thread whilst searching for how to change /web/guest to something else, I found / used the following soloution:

Rather than change /web/guest to /home I changed it to /web/public, which I did as follows:

  1. Create a new community from Portal -> Communites called Public
  2. Set the old Guest community not to be active (as its not possible to delete it)
  3. Under Portal -> Settings set Home Url to /web/public
  4. That should be it and if you try it out you'll notice that if you go to your domain / ip addreses that it still trys to goto /web/guest and returns an error
  5. If you goto Server -> Server Admistration and clear the cached content that should fix the problem described above (it did for me)


Regards,
Asif
steve rieger
RE: How to change default URL for guest users.
14 de Janeiro de 2010 14:05
Resposta

steve rieger

Ranking: Expert

Mensagens: 436

Data de entrada: 11 de Setembro de 2006

Mensagens recentes

or you can just modify portal-ext.properties and do it like the rest of us


emoticon
DarshanKumar N Bhatia
RE: How to change default URL for guest users.
3 de Maio de 2010 21:09
Resposta

DarshanKumar N Bhatia

Ranking: Junior Member

Mensagens: 85

Data de entrada: 2 de Março de 2010

Mensagens recentes

Hi

It's just get redirected to the http:\\localhost:8080\web\guest

while accessing http:\\localhost:8080\home

and not get retain in browser.
Gar Bowning
RE: How to change default URL for guest users.
8 de Dezembro de 2012 13:14
Resposta

Gar Bowning

Ranking: New Member

Mensagens: 16

Data de entrada: 24 de Novembro de 2012

Mensagens recentes

DarshanKumar N Bhatia:
Hi

It's just get redirected to the http:\\localhost:8080\web\guest

while accessing http:\\localhost:8080\home

and not get retain in browser.



Hi Guys,
i am sick and tired of ths URL stuff. I have tried every forum, every example, every wiki and still, what seems a ridiculously simpletask, is turning me right off Liferay.

I want to od the same thing.

I want to set my default web page to node/web/mysite and it goes back to guest over, and over and over and over again.
I tried setting properties ext, I tried setting virtual hosts, Jeez I am fed up, a waste of two weeks, that I was hoping to demo the "value of Liferay"
Gar Bowning
RE: How to change default URL for guest users.
9 de Dezembro de 2012 01:25
Resposta

Gar Bowning

Ranking: New Member

Mensagens: 16

Data de entrada: 24 de Novembro de 2012

Mensagens recentes

Hello,
I am now in day10 of trying to get a defailt web page set up.
If anyone could help out I woild greatly appreciate it.

I have renamed my liferay site to jam.
I have created a web page called 'home' in addition to 'what we do' etc
Whwt i want to do is simply. I want home to appear as the defailt page, when the user types say www.jam.com, at the moment it is 'what we do' or nothing (nothing when i delete the pqge)

What exactly do i need to change in terms of portal settings, site settings, page settings and portal-ext.properties

Please please please give me al the instructions i need, don't assume I know anything.
Gar Bowning
RE: How to change default URL for guest users.
10 de Dezembro de 2012 01:06
Resposta

Gar Bowning

Ranking: New Member

Mensagens: 16

Data de entrada: 24 de Novembro de 2012

Mensagens recentes

Day 11
Still continuing in frustration. It has been almost 11 days now since I set off on my journey to create a web page, any web page, other than the default "what-wedo".

Today I changed the poral-ext.properties, with little enthusiasm, knowing there would be no effect. Set the company.default.home.url=/web/liferay/home, after creating a simple hello world web page, called home.

Nothing happended after re-starting the server. The large emptiness, the thought of knowing you are limited to the goodwill of people adds to the dispair. I vainly search books for what must be my 20th time. 6.1 Admin guide, Portal developers. Forums,Liferay Portal 6 Enterprise Intranets, Liferay in Actions (meaps).

tried every suggestion, still no success.
Changed the Portal settings again, setting URl home to www.jam.com, (my mystical domain)m but still the url each time returns to the what-we-do page, jeering, mocking, teasing, telling me that no ordianry mortal has the power to use Liferay as a public web site.

But still I try, reletless, determined not to be beaten. I have what must be an army of techies on the task now, each one coming up with the same problem as me.
Is there a bug in Liferay 6.21 I hear on almost a daily occurence now.

"No" I tell them, there must be something out there, look at sesame street that as showcased as the site, they have no "what-we'd-" page. Still we progress, hope fading, knowing one day the world will find us huddled over our computers, liek Scott of the Antartic, huddled over his long spent stove.

Day 11 evening. Tried one last attempt at setting site settings friendly URL, still no progress, still "what-we-do" turns up, I search the internet in vain for reidrecting from "what we do", no hope, no luck, the world has stopped, some day, maybe someday