我有一个运行apache 2.4的ubuntu服务器
我有两个虚拟主机,一个是www.domain.com,另一个是subdomain.domain.com
当我尝试访问subdomain.domain.com时重定向到domain.com/subdomain
Options -FollowSymLinks +SymLinksIfOwnerMatch
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^cfcarehospitalar.com.br$
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_METHOD} ^TRAC[EK]
RewriteRule .* - [L,R=405]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [L]
我想知道htaccess的行为方式是什么