IIS下配置WordPress固定链接支持中文URL版

打开wp-includes/classes.php文件,找到如下代码: if ( isset($_SERVER[‘PATH_INFO’]) ) $pathinfo = $_SERVER[‘PATH_INFO’]; else $pathinfo = ”; $pathinfo_array = explode(‘?’, $pathinfo); $pathinfo = str_replace(“%”, “%25″, $pathinfo_array[0]); $req_uri = $_SERVER[‘REQUEST_URI’];修改为: if ( isset($_SERVER[‘PATH_INFO’]) ) $pathinfo = iconv(‘GBK’, ‘UTF-8’, $_SERVER[‘PATH_INFO’]); else $pathinfo = ”; $pathinfo_array = explode(‘?’, $pathinfo); $pathinfo = str_replace(“%”, “%25”, Read More

Ubuntu 10.10 and Hyper-V R2

Ubuntu 10.10 was today 2010-10-10 released which is great new for us working with Hyper-V R2. We now have access to all the new drivers that Microsoft donates to the Linux community. The earlier drivers available in Ubuntu 10.04 LTS lacked features such as integrated shutdown, heartbeat detection, problematic host and guest synchronization and unstable network drivers (network traffic died unexpectedly). With Ubuntu 10.10 we now have the sames features as the Linux Integration Components 2.1 from Microsoft which only enables us to use Red Hat, Cent OS or SuSE Enterprise where Cent OS is unsupported from Microsoft. BackgroundUbuntu is a strong Linux distribution in the community due to Read More