Kod
http://djonik.info/teksty/
to przyjazne URL'e mi działają, jednak gdy podpinam pod katalog subdomenę
Kod
teksty.djonik.info
to już nie chcą działać (wywala mnie na 404). Dlaczego? Czy trzeba do .htaccess wpisać jakieś dodatkowe dyrektywy?
PS. Naturalnie zmieniam w <head> wartość base href, ale to nie skutkuje.
Poniżej regułki z .htaccess
Kod
RewriteEngine on
RewriteRule ^([a-z0-9])/$ index.php?litera=$1
RewriteRule ^([a-z0-9])/([a-z_0-9]+)/$ index.php?litera=$1&wykonawca=$2
RewriteRule ^([a-z0-9])/([a-z_0-9]+)/([a-z_0-9]+).html$ index.php?litera=$1&wykonawca=$2&utwor=$3
ErrorDocument 404 http://djonik.info/teksty/404.php
RewriteRule ^([a-z0-9])/$ index.php?litera=$1
RewriteRule ^([a-z0-9])/([a-z_0-9]+)/$ index.php?litera=$1&wykonawca=$2
RewriteRule ^([a-z0-9])/([a-z_0-9]+)/([a-z_0-9]+).html$ index.php?litera=$1&wykonawca=$2&utwor=$3
ErrorDocument 404 http://djonik.info/teksty/404.php