Fórumok
virtual host and www problem
Mohammad Ghoreishi, módosítva 9 év-val korábban
virtual host and www problem
New Member Bejegyzések: 5 Csatlakozás dátuma: 2013.07.14. Legújabb bejegyzések
Hi all,
I'm developing a portal on liferay for a company.
I had been made to remove \web\guest from default url so I used virtual host. I seted the virtual host as www.xxx.ir. The issue is this:
When we type www.xxx.ir in url, everything is OK but when we use xxx.ir instead it dosen't work.
It's like a DNS server problem for aliasing but I checked DNS server and it's working properly.
How I can handle this situation?
Is there any solution?
Regards,
Mohammad
I'm developing a portal on liferay for a company.
I had been made to remove \web\guest from default url so I used virtual host. I seted the virtual host as www.xxx.ir. The issue is this:
When we type www.xxx.ir in url, everything is OK but when we use xxx.ir instead it dosen't work.
It's like a DNS server problem for aliasing but I checked DNS server and it's working properly.
How I can handle this situation?
Is there any solution?
Regards,
Mohammad
Manali Lalaji, módosítva 9 év-val korábban
RE: virtual host and www problem
Expert Bejegyzések: 362 Csatlakozás dátuma: 2010.03.09. Legújabb bejegyzések
Hi,
Have you referred these links:
http://www.liferay.com/community/forums/-/message_boards/message/1518231
https://www.liferay.com/web/guest/community/forums/-/message_boards/message/3336107
HTH!
Have you referred these links:
http://www.liferay.com/community/forums/-/message_boards/message/1518231
https://www.liferay.com/web/guest/community/forums/-/message_boards/message/3336107
HTH!
Mohammad Ghoreishi, módosítva 9 év-val korábban
RE: virtual host and www problem
New Member Bejegyzések: 5 Csatlakozás dátuma: 2013.07.14. Legújabb bejegyzések
Thank Manali alot.
I saw them.They where useful for me.
My problem solved but not this way. We removed virtual host. Now we are handling
Without virtual host are URL requests work exactly and efficiently .
I saw them.They where useful for me.
My problem solved but not this way. We removed virtual host. Now we are handling
/web/guest
in our theme by velocity. so we don't need virtual hosting anymore.Without virtual host are URL requests work exactly and efficiently .
Jack Bakker, módosítva 9 év-val korábban
RE: virtual host and www problem
Liferay Master Bejegyzések: 978 Csatlakozás dátuma: 2010.01.03. Legújabb bejegyzésekMohammad Ghoreishi:
Hi all,
I'm developing a portal on liferay for a company.
I had been made to remove \web\guest from default url so I used virtual host. I seted the virtual host as www.xxx.ir. The issue is this:
When we type www.xxx.ir in url, everything is OK but when we use xxx.ir instead it dosen't work.
It's like a DNS server problem for aliasing but I checked DNS server and it's working properly.
How I can handle this situation?
Is there any solution?
Regards,
Mohammad
With apache or IIS (I prefer apache) in front you can easily create a virtualhost that redirects xxx.ir to www.xxx.ir ; handling two hosts in velocity will get messy fast
gordon daniels, módosítva 9 év-val korábban
RE: virtual host and www problem
Liferay Master Bejegyzések: 797 Csatlakozás dátuma: 2008.08.24. Legújabb bejegyzések
I agree with Jack. The best way to do this is use mod_jdk and apache virtual host.