This for each language would not do as I have several redirects like these all over the .htaccess and it keeps getting bigger.
/en/ is a physical directory on the site structure ( keeping my designer team happy ) and I would like to detect the ‘/en/’ ( from http://www.mysite.com/en/empresa/ ) setting a variable as the base rewrite and apache would use it to forward request accordingly.
Yes. You quite right in that comparison.
I did thought of that also and will not make that mistake again xD
I’ll keep in mind also for other tests and avoid them in the future.
Think of the <IfModule> test as something which should be done ONCE (i.e., reserved for the server configuration file), NOT for every file request. I liken that to the definition of an idiot as someone who repeats the same test expecting a different result every time. Best to test that the module exists ONCE then remove it from the .htaccess to avoid the abuse of the server.