Kohana 3.2 Webサイトの動的サイトマップを作成していますが、次のエラーが発生しました。ドット「。」を使用するとルートが機能しません。初期化。このように(http://localhost/sitemap.xml):
Route::set('sitemap', 'sitemap.xml')
->defaults(array(
'controller' => 'static',
'action' => 'sitemap'));
この場合、すべてが正常に機能します(http:// localhost / sitemap):
Route::set('sitemap', 'sitemap')
->defaults(array(
'controller' => 'static',
'action' => 'sitemap'));
どうすれば解決できますか?