ApacheのAliasとトレイリングスラッシュについて
http://hogefuga.com/test
http://hogefuga.com/test/
の様に末尾にスラッシュをつけていてもつけていなくても同じ画面に遷移させたいのですが、ApacheのAliasで反映出来ずに困っています。
末尾にスラッシュがある場合は適切に表示され、無い場合は画面が無い表示になってしまいます。
Alias /test "/home/www/man/test/docroot" <Directory "/home/www/man/test/docroot"> Options FollowSymLinks AllowOverride None Order allow,deny Allow from all RewriteEngine On RewriteBase /test RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] </Directory>