Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

267
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!