I´ve been working with Liferay 7.1 GA, designing a website. I have configured the portal to be able to access in several languages. For example, if I access selecting spanish the url is this http://scdesweb.iipp.int/es/inicio and if I access selecting catalan the url is http://scdesweb.iipp.int/ca/inicio.
Liferay does not recognize Valencian as an official language, therefore it does not appear on the portal. For this reason, I have added Andorran Catalan and I have edited this language so that when selecting it, it does the translations into Valencian.In conclusion, when I select Andorran Catalan as the language, the translation into Valencian is done.
I want to change the url, because selecting the Andorran Catalan the url is http://scdesweb.iipp.int/ca_AD/inicio and I the url which I want is http://scdesweb.iipp.int/va/inicio. I´ve been reading about modify virtual host on the server, and mine looks like this:
<VirtualHost *:80>
#ServerName www.iipp.es
ServerAdmin mant.ajava@dgip.mir.es
TransferLog /var/log/httpd/scdesintralife.iipp.int_liferay_access.log
ErrorLog /var/log/httpd/scdesintralife.iipp.int_liferay_error.log
RequestHeader set X-Forwarded-Proto "https"
ProxyPreserveHost On
ProxyPass /files !
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
How can I set up the virtual host to when I access with http://scdesweb.iipp.int/va/inicio the portal show like if you selected http://scdesweb.iipp.int/ca_AD/inicio but in the url always appears 'va'?
Thanks four your attention