index.php/site/ACTION for siteController (for static pages with no log-in)
I need to hide the siteController to have SEO-friendly URLs for the static pages but to keep the controller name for clientController and sellerController
one possible solution is to list every possible combination of all 3 controllers/actions and define custom rewrite for each case. This has the negative effect of having a lot of rules and having to amend rules each time you add/remove actions.
The other possibility is to extend the curlmanager and write custom conditions.
Hopefully some else can add something to the above
The problem is that it works well when urlFormat is set to get.But of course all the url rules are neglected.
When urlFormat is changed to path. It throws the error.
Then I am forced to set the showScriptName to true.
All these observations are based my experience in my localhost.(Apache/2.2.22 (Ubuntu) Server at localhost Port 80)
My .htaccess file
Options +FollowSymLinks
IndexIgnore */*
<IfModule mod_rewrite.c>
RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule ^.*$ /index.php [L]
</IfModule>