Zhou Yuanchi wrote:
I write a php file and put it on my wiki fold: http://nkbbs.org/wiki/test.php
This is the output: ml/wiki/test.php
I install my wiki at /home/www/html/wiki/
but why the front part of the url is missing?
Normally it should output "/wiki/test.php", which is the URL path to the script (not including protcol/hostname/port).
Where is the "ml" coming from? Because it doesn't match (and if that's really what you get, it would break any script using PHP_SELF because that's not a complete path -- it doesn't start with a "/") the security checks in raw mode are forcing a redirect to the canonical form, which leads to an endless loop.
-- brion vibber (brion @ pobox.com)