简体   繁体   English

在此服务器上找不到请求的URL [filename.php]

[英]The requested URL [filename.php] was not found on this server

    <?php
    echo "hello";   
?>

<!DOCTYPE html>
<html>
    <head>
    </head>
    <body>
        <form action="/one1.php" method="POST" enctype="multipart/form-data">
            <input type="file" name="image" />
            <input type="submit"/>
        </form>
    </body>
</html>

` `

I have a Url on my server This url is working. 我的服务器上有一个网址此网址正在工作。 I have written echo "hello" in this. 我在其中写了回声“你好”。

but when i go through in this url i have written the html file upload code 但是当我浏览这个URL时,我已经写了HTML文件上传代码

It says The requested URL [one1.php] was not found on this server. 它说在此服务器上找不到请求的URL [one1.php]。

I checked my file_upload is on. 我检查了我的file_upload是否打开。

确保将表单标签上的“ action ”属性设置为/one1.php

I got the answer I contact the hosting team. 我得到了与托管团队联系的答案。 They told to off the mod security in my panel and things the worked. 他们告诉我面板中的mod安全性和起作用的方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM