CodeIgniter Forums
New "segment"-Separator - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17)
+--- Thread: New "segment"-Separator (/showthread.php?tid=845)



New "segment"-Separator - joergy - 01-22-2015

Hi,

for version 3 I dare to place a wish for new or selectable "segment" separators. The well known approach "/" in the requesting URI (like http://domain/index.php/controller/method) has two major issues:
1. All browsers interprete "/" as part of the path to a resource. So relative addressing of images, stylesheets or whatever isn't possible. This makes a move of an application to another folder impossible.
2. Web servers like nginx do not support these URI requests (they do not accept the part behind index.php as part of a query string) without URI rewrites. Of course, nginx doesn't follow the RFC at this point, but nevertheless ...

Regards
joergy