Why is that, that when we try to issue a include statement, which has any kind of "Relative" path in it, it will fail if the php script is mapped into apache web tree by "Alias" Statement ?
An example: We have:
Apache Alias stament is:
Alias /test "/a/"
If we run: include('../c/two.php'); from one.php, it will result in error: failed to create stream: No such file or directory.
If we run: include('c/two.php'); from three.php it will result in suiccess.
If we run: include('./c/two.php'); from three.php it will fail as in first example.
If we just copy the whole /a into the web server document root, all examples will work.
Is that some kind of security feature or a bug ?