I'm trying to rewrite abc.example.com/path
to abc.example.com/index.php/abc/path
using the following .htaccess:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^(abc)\.example\.com
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/abc/$1 [L]
The situation is:
domain www.example.com
vhost www
subdomain abc.example.com
vhost abc
I don't want index.php/abc/
to be shown in the URL.
Does anybody have some suggestions?