Hello all,
Just getting started with FW/1 and attempting to get the index.cfm out
of the URL string. I used the mod_rewrite code for .htaccess provided
in the documentation:
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/(assets|cfide|files|images|js|css|views|
layouts|index.cfm) [NC]
RewriteRule ^(.*)$ /index.cfm/$1
This rewrites the URL fine and removes the index.cfm. However, after
implementing this rewrite, my controllers are not called. For example,
if I load:
http://localhost/main/default/, the view shows. But the
default() method in main.cfc is not invoked.
I have SESOmitIndex = true AND generateSES = true, but that makes no
difference. If I turn the URL rewrite off and try
http://localhost/index.cfm/main/default,
the main.default() is called fine and everything works. I'm stumped.
I would appreciate any help with this. Thanks in advance.
CF: 9,0,1,274733
FW/1: 2.0.1