Thanks for your reply!
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?
Brion Vibber brion@pobox.com wrote:
Zhou Yuanchi wrote:
My site is here: http://nkbbs.org/wiki (Chinese Simplified)
You have a redirect loop in the style sheets.
Try this script and compare the output against the URL path:
What's the exact output and the exact URL you get?
-- brion vibber (brion @ pobox.com)
http://ppip.blog.yyty.org http://ppip.wiki.ptt.cc
_________________________________________________________ Do You Yahoo!? 150万曲MP3疯狂搜,带您闯入音乐殿堂 http://cn.rd.yahoo.com/mail_cn/tag/yisou/music/*http://music.yisou.com/ 美女明星应有尽有,搜遍美图、艳图和酷图 http://cn.rd.yahoo.com/mail_cn/tag/yisou/image/*http://image.yisou.com 1G就是1000兆,雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1...
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)
mediawiki-l@lists.wikimedia.org