Hello,

I've search around on search engines but I could not find any answers that
solve my dilemma

I have a VirtualHost configured to respond on multiple hostnames 

Example: hostname.com , lang-fr.hostname.com , lang-nl.hostname.com ,
fr-lang.hostname.com , nl-lang.hostname.com

Now , what I would like is that 

If somebody is accessing lang-fr.hostname.com and fr-lang.hostname.com to
actually  see the pages under hostname.com/fr/. but without redirection 

Like lang-fr.hostname.com/users to actually be hostname.com/fr/users , and
so on for other languages.

 

I've tried some things but always get to many redirects or some other error
and can't figure it out why is that happening , but if I had to guess is
because I'm using RewriteCond  correctly.

 

Thank you in advance!

 

 

----

Cu stima,

Kind regards,

 

Alexandru Duzsardi

System Administrator

 

PITECH+PLUS

 <http://www.pitechplus.com/> www.pitechplus.com

 

mobil: +4/ 0745-775.258

E-mail:  <mailto:alexandru.duzsa...@pitechnologies.ro>
alexandru.duzsa...@pitechnologies.ro

Adresa: Str. Campul Painii 3-5 (Cladirea Coratim)

                Cluj-Napoca

                Romania

 

Reply via email to