Troubleshooting problems when hard-link and sym-link are different. for example: ```php echo getcwd(); echo "<br>"; echo realpath(dirname(__FILE__)); echo "<br>"; echo readlink($_SERVER['DOCUMENT_ROOT']); echo "<br>"; echo substr(realpath(dirname(__FILE__)), strlen($_SERVER['DOCUMENT_ROOT'])); ``` <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/97942135-system-uri-improve-uri-routing-when-head-link-and-sym-link-are-different?utm_campaign=plugin&utm_content=tracker%2F81900799&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F81900799&utm_medium=issues&utm_source=github). </bountysource-plugin>