Próbuje zrobić takie przekierowanie: admin/modul,akcja.html, gdzie admin to nie katalog a zmienna. Zrobiłem tak:
RewriteBase /test RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d # Administracja RewriteRule ^(admin)/([a-z]+),([a-z]+),([0-9]+).html$ index.php?module=admin&type=$2&action=$3&id=$4 [L] RewriteRule ^(admin)/([a-z]+),([a-z]+).html$ index.php?module=admin&type=$2&action=$3 [L] RewriteRule ^(admin)/([a-z]+).html$ index.php?module=admin&type=$2 [L] RewriteRule ^(admin) index.php?module=admin [L]
Wszystko jest ok z wyjątkiem nieprawidłowej ścieżki, bo skrypt "myśli", że admin jest katalogiem. w przypadku wpisania adres/admin jest wszystko ok, ze slashem już jako katalog
