RewriteCond $1 !^subdomena/RewriteCond %{HTTP_HOST} ^subdomena\.domena\.tldRewriterule (.*) /subdomena/$1 [L]
Zdravím,jdete na to špatně Tohle přesně jde úplně jednoduše udělat 2 příkazy v konfiguraci apache. (Teda jestli jsem správně pochopil zadání)http://httpd.apache.org/docs/2.2/mod/mod_vhost_alias.html
http://subdomain.example.com/first/second/index.html/stranky/com/example/subdomain/first/second/index.html