CGI/FastCGI请求变量错误


CGI/FastCGI Request variable error?

嗨,我最近将mysites工作文件更新到了CGI/FastCGI服务器。它有一些请求变量部分要处理。

oldsite.com/myfile.php?link=http://google.com[在apache中运行良好]

oldsite.com/myfile.php?link=http://google[在apache中运行良好]

oldsite.com/myfile.php?link=http://google.com[在CGI/FastCGI]中不工作

oldsite.com/myfile.php?link=http://google[在CGI/FastCGI]中工作

有人知道CGI/FastCGI出了什么问题吗???

我声称您也启用了mod_security。查看error.log。它会告诉你确切的错误情况。(将错误消息添加到您的问题中!)

?link=参数在CGI环境中不是一个重要名称。但是,它可能会被mod_security核心规则列入黑名单。(以前也遇到过同样的URL阻塞问题。)