Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

271
Visualizações
Redirect in vitual host

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

over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda