Foros de discusión

Wont work unless /web/guest/ is added to the URL

Mansur M Mas, modificado hace 14 años.

Wont work unless /web/guest/ is added to the URL

New Member Mensaje: 1 Fecha de incorporación: 17/10/09 Mensajes recientes
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!
thumbnail
Rameez Mohammed, modificado hace 14 años.

RE: Wont work unless /web/guest/ is added to the URL

New Member Mensajes: 20 Fecha de incorporación: 30/09/09 Mensajes recientes
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

 
            <connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" />
    



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
thumbnail
Lisa Simpson, modificado hace 14 años.

RE: Wont work unless /web/guest/ is added to the URL

Liferay Legend Mensajes: 2034 Fecha de incorporación: 5/03/09 Mensajes recientes
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.
thumbnail
Richard Sezov, modificado hace 14 años.

RE: Wont work unless /web/guest/ is added to the URL

Regular Member Mensajes: 220 Fecha de incorporación: 7/02/07 Mensajes recientes
It is possible to remove /web/guest from the URL.

Please see Jon Neal's blog entry here.
thumbnail
Lisa Simpson, modificado hace 14 años.

RE: Wont work unless /web/guest/ is added to the URL

Liferay Legend Mensajes: 2034 Fecha de incorporación: 5/03/09 Mensajes recientes
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.