Better than that, if you are using lion framework, my recommendation is to avoid change the .htaccess: Lion framework brings his own url routes engine, so you are able to define your own url alias, where to route request, ... within the config/routes.xml file (see
http://lionframework.org/documentati...uting.pkg.html for more details about routes)
So, to produce the same result with
http://localhost/LionDemo/ and with
http://localhost/LionDemo/index.action, you can create a rule within the routes.xml like the following one:
(not sure if "^\/$" or "^\/LionDemo\/$". Well, in any case, the uri-pattern allows you to define a regular expression matching whatever route you need to handle)
So, with this rule, you are telling the lion framework that your route as '/' will be redirected to the index controller (default action), which is the same controller/action that you are executing by ussing the index.action within the url.
That's all.