Cubi will map cleaner urls to raw urls by adding an index.php and .htaccess under the root directory of cubi installation.
View mapping syntax:
- /cubi/a/x maps to /cubi/bin/controller.php?view=a.view.XView. Example: /cubi/system/userList
- /cubi/a/x_y maps to /cubi/bin/controller.php?view=a.view.XYView. Example: /cubi/system/user_list
- /cubi/a/x/number maps to /cubi/bin/controller.php?view=a.view.XView&fld:Id=number. Example: /cubi/system/user_detail/5
- /cubi/a/x/word_number maps to /cubi/bin/controller.php?view=a.view.XView&fld:word=number
- Add "?" right after /cubi/. This assumes that index.php is the default script configured in web server. For example, http://host/cubi/?/system/user_list
- Or add "index.php?" right after /cubi/. For example, http://host/cubi/index.php?/system/user_list