Caute, po dloooooooouhe dobe sem se tu obevil
Hledal sem na googlu jak udelat subky skrze .htaccess (e.g. sub.domain.com)
Udelal sem .htaccess soubor v korenovym adresari web serveru (apache2) ktery obsahuje:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^(www\.)?mshost\.cz
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ([a-z0-9-]+)/? http://$1.mshost.cz [R=301,NC,L]
DNS je presmerovany, ale kdyz zadam test.mshost.cz tak me to zobrazi to stejny jako na mshost.cz. Kde je problem? S .htaccess absolutne neumim...
Pokud to pomuze, pouzivam Linux Debian Squezze.