SourceForge里面设置目录为可写的方法。
在shell里面
mkdir /home/persistent/P/PR/PROJECT/htdocs/status
mv /home/persistent/P/PR/PROJECT/htdocs/status/avatar /home/groups/P/PR/PROJECT/htdocs/status/avatar
cd /home/groups/P/PR/PROJECT/htdocs/status
ls -sf /home/persistent/P/......
方法很简单。新建一个“_chineseuri.php”文件,内容如下:
<?php
// IIS Mod-Rewrite
if (isset($_SERVER['HTTP_X_ORIGINAL_URL'])) {
$_SERVER['REQUEST_URI'] = $_SERVER['HTTP_X_ORIGINAL_URL'];
}
// IIS Isapi_Rewrite
else if (isset($_SERVER['HTTP_X_REWRITE_URL'])) {
$_SERVER['REQ......