掲示板
Friendly URL
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
Hi,
Anybody know, how to achieve this? Please help me.
Regards
Anand
Anybody know, how to achieve this? Please help me.
Regards
Anand
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?
添付ファイル:
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.
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/
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
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
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
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.
anand 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
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
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:
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.
is it working with ....<IP> or localhost:<portnumber>
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
Hi All,
I fixed the issue. Thanks for your support & guideline.
Regards
Anand
I fixed the issue. Thanks for your support & guideline.
Regards
Anand
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
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.