I have a folder structure, like this:
- forum
- .htaccess
- [some more files]
- forum_english
- .htaccess
- [some more files]
forum/.htaccess looks like this:
RewriteEngine on
RewriteCond %{HTTP_HOST} \.(com|net)$ [NC] # just rewrite if the query comes from an english languaged domain
RewriteRule ^(.*)$ ../forum_english/$1
#some more RewriteRules from another forum. I don't know, if I am allowed to show them. They should work well, side by side.
forum_english/.htaccess is the default MyBB-htaccess-File.
Sadly this causes an infinite loop. To prevent this, I have to insert a [L]
-Flag which skips the forum_english/.htaccess-file (but the rules in this file should be executed, too!). I also tried the [N=2]
-Flag instead ... but still infinite loop.
I use Apache 2.2.17 and have no access to error_logs or the files in /etc/apache2/sites-enabled/.
Any ideas what I did wrong?