Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Mansur M Mas
Wont work unless /web/guest/ is added to the URL
October 17, 2009 2:40 PM
Answer

Mansur M Mas

Rank: New Member

Posts: 1

Join Date: October 17, 2009

Recent Posts

Hello All,

I just setup Liferay 5.2.3 using tomcat (bundled default deployment). It runs on port 8080 but it wont actually load liferay unless /web/guest/ is tacked on to the URL

So basically:
http://localhost:8080 -- Does not work

http://localhost:8080/web/guest/ -- works.

How do i make it so /web/guest is not required?

My Virtual Host setting is: localhost
My Home URL is: /

Eventually i am going to switch the server to port 80 but i dont want it to require /web/guest to be on the end.

Thank you all in advance!
Rameez Mohammed
RE: Wont work unless /web/guest/ is added to the URL
October 18, 2009 4:51 AM
Answer

Rameez Mohammed

Rank: New Member

Posts: 20

Join Date: September 30, 2009

Recent Posts

Hi Mansur,

The Default Liferay Tomcat Bundle 5.x consist of Port 8080 in Server.xml. You don't need to tack /web/guest URL to load Liferay.

As your tomcat server is restarted it directly opens the http://locahost:8080/

So please once check your tomcat setup and also server.xml located in following path D:\liferay\tomcat\conf\server.xml

1
2            <Connector port="8080" protocol="HTTP/1.1"
3            connectionTimeout="20000"
4            redirectPort="8443" URIEncoding="UTF-8" />
5   



After than again restart the Server. Liferay browser must open directly without hitting any URL.

It will open as http://localhost:8080/web/guest

Ask me if you have any more queries on this topic....


Thanks,
Rameez
CIGNEX Technologies
Lisa Simpson
RE: Wont work unless /web/guest/ is added to the URL
October 19, 2009 8:45 AM
Answer

Lisa Simpson

Rank: Liferay Legend

Posts: 2034

Join Date: March 5, 2009

Recent Posts

I don't think you can actually get rid of the /web/guest

That part of the URL is generated by Liferay and will change

You might see /group/groupname

It's programattic.
Richard Sezov
RE: Wont work unless /web/guest/ is added to the URL
October 19, 2009 9:26 AM
Answer

Richard Sezov

LIFERAY STAFF

Rank: Regular Member

Posts: 211

Join Date: February 7, 2007

Recent Posts

It is possible to remove /web/guest from the URL.

Please see Jon Neal's blog entry here.
Lisa Simpson
RE: Wont work unless /web/guest/ is added to the URL
October 19, 2009 3:13 PM
Answer

Lisa Simpson

Rank: Liferay Legend

Posts: 2034

Join Date: March 5, 2009

Recent Posts

That's great if all you have is just one group or community. It's not a viable solution if you have more than page of communities in your control panel.