我有以下htacces。htacces if if index or admin
是否有可能在htacces中執行if/elseif。
例如: 如果http://url.nl/rs/ ELSEIF http://url.nl/rs/admin/
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . rs/index.php [L]
RewriteRule . rs/admin/index.php [L]
不知道是什麼,如果/ elseif的描述是指,如果'http://url.nl/rs /'那麼是什麼?如果這種情況是真的會發生什麼? –