I have mydomain.com in /html and subdomains in /html/en.mydomain.com and /html/de.mydomain.com, and they can't point to anywhere else.
Is possible that when I put en.mydomain.com, Apache shows a file from the parent directory (/html)? For example:
- Code: Select all
RewriteCond %{HTTP_HOST} ^en\.mydomain\.com$
RewriteRule ^(.*)$ /../index.htm?lang=en
Something like that. Could it be possible? Is there any other way to do this?
Thanks in advance.