0

我正在使用 Titanium Mobile 和 HTTPClient 构建一个 iPhone 应用程序。每当我将文件发布到生产服务器时,我都会收到以下响应。如果我发布到 postbin.org 或我的本地或临时服务器,那没关系。

我不认为错误是在 iPhone 模拟器上生成的。我认为它是服务器设置或其他东西。我有一个使用“上传”类用 CodeIgniter 编写的应用程序。

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<html><head>

<title>403 Forbidden</title>

</head><body>

<h1>Forbidden</h1>

<p>You don't have permission to access {my_uri} on this server.</p>

</body></html>
4

1 回答 1

0

这绝对看起来像 Apache mod_security 错误。它通常由表单提交(Get 或 Post)触发。

请您的服务器管理员关闭 Apache mod_security 模块。

于 2011-09-05T22:09:01.560 回答