我使用iframe时错误406不可接受

时间:2022-10-03 15:34:41

I am using a form action in Iframe page.(if1.php). I want to navigate to(mail.php) page which is a regular php page. (ie iframe page to another page). The code in iframe page(if1.php) for navigation is shown below..

我在Iframe页面中使用表单操作。(if1.php)。我想导航到(mail.php)页面,这是一个常规的PHP页面。 (即iframe页面到另一页)。用于导航的iframe页面(if1.php)中的代码如下所示。

 <form target="myframe" action="mail.php" method="post">
 <!-- code here -->
 </form>

But i am getting the following error when i press a submit button in iframe page(if1.php). Why is this error happening? The browser that I'm using is chrome.

但是当我在iframe页面(if1.php)中按下提交按钮时,我收到以下错误。为什么会发生这种错误?我正在使用的浏览器是chrome。

Not Acceptable An appropriate representation of the requested resource /radical/mail.php could not be found on this server.

不可接受在此服务器上找不到所请求资源/radical/mail.php的适当表示。

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

此外,尝试使用ErrorDocument处理请求时遇到404 Not Found错误。

1 个解决方案

#1


0  

First THANKS for all those who tried helping me in finding the solution ...

首先感谢那些试图帮助我找到解决方案的人......

The issue was only a "server specific" and not "code specific"...The Server team was able to rectify the issue with some minor changes in server settings and every thing works fine now...

问题只是“特定于服务器”,而不是“特定于代码”...服务器团队能够通过服务器设置中的一些细微更改来纠正问题,现在每件事情都很好......

Again many Thanks

再多谢谢

Regards,

#1


0  

First THANKS for all those who tried helping me in finding the solution ...

首先感谢那些试图帮助我找到解决方案的人......

The issue was only a "server specific" and not "code specific"...The Server team was able to rectify the issue with some minor changes in server settings and every thing works fine now...

问题只是“特定于服务器”,而不是“特定于代码”...服务器团队能够通过服务器设置中的一些细微更改来纠正问题,现在每件事情都很好......

Again many Thanks

再多谢谢

Regards,