Fórumok
Friendly URL
anand gopalan, módosítva 11 év-val korábban
Friendly URL
Expert Bejegyzések: 442 Csatlakozás dátuma: 2012.03.02. Legújabb bejegyzések
HI,
I am creating Intranet site and current URL is http://pfin-fs1/web/guest/ and I want to use this Friendly URL
http://hradmin.in.abc-xyz.com
How to achieve this? Please help me
I am creating Intranet site and current URL is http://pfin-fs1/web/guest/ and I want to use this Friendly URL
http://hradmin.in.abc-xyz.com
How to achieve this? Please help me
anand gopalan, módosítva 11 év-val korábban
RE: Friendly URL
Expert Bejegyzések: 442 Csatlakozás dátuma: 2012.03.02. Legújabb bejegyzések
Hi,
Anybody know, how to achieve this? Please help me.
Regards
Anand
Anybody know, how to achieve this? Please help me.
Regards
Anand
anand gopalan, módosítva 3 év-val korábban
RE: Friendly URL
Expert Bejegyzések: 442 Csatlakozás dátuma: 2012.03.02. Legújabb bejegyzések
Hi Ezeguiel,
see the attachment. I am getting the error. How to solve this?
see the attachment. I am getting the error. How to solve this?
Mellékletek:
anand gopalan, módosítva 3 év-val korábban
RE: Friendly URL
Expert Bejegyzések: 442 Csatlakozás dátuma: 2012.03.02. Legújabb bejegyzések
Hi,
After I follow your guideline, but it fail. please see the screenshot. Please let me know how to fix this issue.
After I follow your guideline, but it fail. please see the screenshot. Please let me know how to fix this issue.
Mellékletek:
anand gopalan, módosítva 11 év-val korábban
RE: Friendly URL
Expert Bejegyzések: 442 Csatlakozás dátuma: 2012.03.02. Legújabb bejegyzések
Hi,
now it is working with http://hradmin.in.pepperl-fuchs.com/web/guest/ but i want
when I type http://hradmin.in.pepperl-fuchs.com/ this url it should redirect to http://hradmin.in.pepperl-fuchs.com/web/guest/
now it is working with http://hradmin.in.pepperl-fuchs.com/web/guest/ but i want
when I type http://hradmin.in.pepperl-fuchs.com/ this url it should redirect to http://hradmin.in.pepperl-fuchs.com/web/guest/
Manish Yadav, módosítva 11 év-val korábban
RE: Friendly URL
Expert Bejegyzések: 493 Csatlakozás dátuma: 2012.05.26. Legújabb bejegyzések
Hi anand ,
you can define default.landing.page.path property in portal-ext.properties.
default.landing.page.path=/web/guest
and
company.default.home.url=/web/guest
reference you can get it from
Portal-ext.properties
you can define default.landing.page.path property in portal-ext.properties.
default.landing.page.path=/web/guest
and
company.default.home.url=/web/guest
reference you can get it from
Portal-ext.properties
anand gopalan, módosítva 11 év-val korábban
RE: Friendly URL
Expert Bejegyzések: 442 Csatlakozás dátuma: 2012.03.02. Legújabb bejegyzések
Hi,
you mean i need to add this line in portal-ext.properties file
default.landing.page.path=http://hradmin.in.pepperl-fuchs.com/web/guest
company.default.home.url=http://hradmin.in.pepperl-fuchs.com
you mean i need to add this line in portal-ext.properties file
default.landing.page.path=http://hradmin.in.pepperl-fuchs.com/web/guest
company.default.home.url=http://hradmin.in.pepperl-fuchs.com
Manish Yadav, módosítva 11 év-val korábban
RE: Friendly URL
Expert Bejegyzések: 493 Csatlakozás dátuma: 2012.05.26. Legújabb bejegyzések
you have to add only below properties
company.default.home.url=/web/guest
default.landing.page.path=/web/guest
company.default.home.url=/web/guest
default.landing.page.path=/web/guest
anand gopalan, módosítva 11 év-val korábban
RE: Friendly URL
Expert Bejegyzések: 442 Csatlakozás dátuma: 2012.03.02. Legújabb bejegyzések
Hi Manish,
thank you for quick reply.
I shouldn't directly overwrite the portal-ext.properties files in portal-impl.jar file under webapps\ROOT\WEB-INF\lib
then I how i can edit this file. please send your comments.
thank you for quick reply.
I shouldn't directly overwrite the portal-ext.properties files in portal-impl.jar file under webapps\ROOT\WEB-INF\lib
then I how i can edit this file. please send your comments.
Manish Yadav, módosítva 11 év-val korábban
RE: Friendly URL
Expert Bejegyzések: 493 Csatlakozás dátuma: 2012.05.26. Legújabb bejegyzésekanand gopalan:
Hi Manish,
thank you for quick reply.
I shouldn't directly overwrite the portal-ext.properties files in portal-impl.jar file under webapps\ROOT\WEB-INF\lib
then I how i can edit this file. please send your comments.
Check below path for portal-ext.properties. if file is not exist there you can create file with name of portal-ext.properties and restart server.
\webapps\ROOT\WEB-INF\classes\portal-ext.properties
Siby Mathew, módosítva 11 év-val korábban
RE: Friendly URL
Expert Bejegyzések: 268 Csatlakozás dátuma: 2011.03.04. Legújabb bejegyzések
Hi Manish/Anand,
You can put your portal-ext.properties in the same level as the deploy folder. Liferay will automatically use it.
Thanks,
Siby
You can put your portal-ext.properties in the same level as the deploy folder. Liferay will automatically use it.
Thanks,
Siby
anand gopalan, módosítva 11 év-val korábban
RE: Friendly URL
Expert Bejegyzések: 442 Csatlakozás dátuma: 2012.03.02. Legújabb bejegyzések
Hi Manish/Siby,
After I have added below line in the portal-ext.properties.
company.default.home.url=/web/guest
default.landing.page.path=/web/guest
when i type this URL : http://hradmin.in.pepperl-fuchs.com I am getting this error. please let me know how to fix this issue.
logs show the error message:
04:06:14,740 ERROR [VirtualHostFilter:301] java.lang.IllegalArgumentException: Path hradmin.in.pepperl-fuchs.com does not start with a "/" character
java.lang.IllegalArgumentException: Path hradmin.in.pepperl-fuchs.com does not start with a "/" character
at org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContext.java:432)
at org.apache.catalina.core.ApplicationContextFacade.getRequestDispatcher(ApplicationContextFacade.java:223)
at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:296)
.....................
.....................
04:06:14,755 ERROR [I18nServlet:106] java.lang.IllegalArgumentException: Path ;jsessionid=03EDBB1F3E97BD4121A376488089810E does not start with a "/" character
java.lang.IllegalArgumentException: Path ;jsessionid=03EDBB1F3E97BD4121A376488089810E does not start with a "/" character
at org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContext.java:432)
at org.apache.catalina.core.ApplicationContextFacade.getRequestDispatcher(ApplicationContextFacade.java:223)
Screenshot:
After I have added below line in the portal-ext.properties.
company.default.home.url=/web/guest
default.landing.page.path=/web/guest
when i type this URL : http://hradmin.in.pepperl-fuchs.com I am getting this error. please let me know how to fix this issue.
logs show the error message:
04:06:14,740 ERROR [VirtualHostFilter:301] java.lang.IllegalArgumentException: Path hradmin.in.pepperl-fuchs.com does not start with a "/" character
java.lang.IllegalArgumentException: Path hradmin.in.pepperl-fuchs.com does not start with a "/" character
at org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContext.java:432)
at org.apache.catalina.core.ApplicationContextFacade.getRequestDispatcher(ApplicationContextFacade.java:223)
at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:296)
.....................
.....................
04:06:14,755 ERROR [I18nServlet:106] java.lang.IllegalArgumentException: Path ;jsessionid=03EDBB1F3E97BD4121A376488089810E does not start with a "/" character
java.lang.IllegalArgumentException: Path ;jsessionid=03EDBB1F3E97BD4121A376488089810E does not start with a "/" character
at org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContext.java:432)
at org.apache.catalina.core.ApplicationContextFacade.getRequestDispatcher(ApplicationContextFacade.java:223)
Screenshot:
Mellékletek:
anand gopalan, módosítva 11 év-val korábban
RE: Friendly URL
Expert Bejegyzések: 442 Csatlakozás dátuma: 2012.03.02. Legújabb bejegyzések
Hi,
Any suggestion or guideline. Please let me know how to fix this issue.
Any suggestion or guideline. Please let me know how to fix this issue.
Manish Yadav, módosítva 11 év-val korábban
RE: Friendly URL
Expert Bejegyzések: 493 Csatlakozás dátuma: 2012.05.26. Legújabb bejegyzések
is it working with ....<IP> or localhost:<portnumber>
anand gopalan, módosítva 11 év-val korábban
RE: Friendly URL
Expert Bejegyzések: 442 Csatlakozás dátuma: 2012.03.02. Legújabb bejegyzések
Hi Manish,
its working with Machine name as well as IP Address.
Machine Name: pfin-fs1
url: http://pfin-fs1/web/guest
ip address: 192.168.100.239
http:// 192.168.100.239/web/guest
its working with Machine name as well as IP Address.
Machine Name: pfin-fs1
url: http://pfin-fs1/web/guest
ip address: 192.168.100.239
http:// 192.168.100.239/web/guest
anand gopalan, módosítva 11 év-val korábban
RE: Friendly URL
Expert Bejegyzések: 442 Csatlakozás dátuma: 2012.03.02. Legújabb bejegyzések
Hi All,
I fixed the issue. Thanks for your support & guideline.
Regards
Anand
I fixed the issue. Thanks for your support & guideline.
Regards
Anand
Manish Yadav, módosítva 11 év-val korábban
RE: Friendly URL
Expert Bejegyzések: 493 Csatlakozás dátuma: 2012.05.26. Legújabb bejegyzések
Hi Anand could you post your solution how you achieved ,it will be guidance for others. if possible for you could you post full steps of vitural hosting
anand gopalan, módosítva 11 év-val korábban
RE: Friendly URL
Expert Bejegyzések: 442 Csatlakozás dátuma: 2012.03.02. Legújabb bejegyzések
Hi Manish,
Steps to follow for Friendly URL
1. add friendly URL in the Site setting
Public page: hradmin.in.abc-xyz.com/web/guest
2. add below line in the Portal-ext.properties
company.default.home.url=/web/guest
default.landing.page.path=/web/guest
3. Don't enter anything in HOME URL in Portal setting page
4. Add default Landing page in the portal setting
for example:/web/guest
Hope it will help for others.
Steps to follow for Friendly URL
1. add friendly URL in the Site setting
Public page: hradmin.in.abc-xyz.com/web/guest
2. add below line in the Portal-ext.properties
company.default.home.url=/web/guest
default.landing.page.path=/web/guest
3. Don't enter anything in HOME URL in Portal setting page
4. Add default Landing page in the portal setting
for example:/web/guest
Hope it will help for others.