quercus を使用して tomcat で codeigniter を実行しようとしています。
quercus を webapps/ROOT にインストールしてから、codeigniter を webapps/ROOT/appname にインストールしました。
webapps/ROOT/appname にある index.php にアクセスできるのですが、ROOT/appname/index.php/login/login にアクセスしようとすると 404 エラーが発生しました。ROOT/appname/welcome にもアクセスできません。
この 404 エラーを解決するにはどうすればよいですか?
私は codeigniter 2.x を使用しています。
htaccess の代わりに urlrewriterfilter を使用しました。しかし、うまくいかないようです。以下は私のurlrewrite.xmlです。
<urlrewrite>
<rule>
<name>Generic Pretty URLs Pass-through</name>
<condition type="request-uri" operator="notequal">^/(robots.txt|osd.xml|flex2gateway|cfide|cfformgateway|railo-context|admin-context|files|images|jrunscripts|javascripts|miscellaneous|stylesheets)</condition>
<condition type="request-uri" operator="notequal">\.(bmp|gif|jpe?g|png|css|js|txt|xls|ico|swf|woff|ttf|otf)$</condition>
<condition type="request-filename" operator="notdir"/>
<condition type="request-filename" operator="notfile"/>
<from>(.*)</from>
<to type="passthrough" last="true">index.php/$1</to>
</rule>
</urlrewrite>