Give a hero, what is the reason for the situation
I have no problem using the Apache test locally, and that's what happens when you upload a service to the company. The framework used for the project is tinkphp.
------to solve the idea----------------------
The server does not have a directory index defined or does not have the rewrite feature turned on.
------to solve the idea----------------------
You're like an IIS error.
Enable the parent path to
------to solve the idea----------------------
$url = ' http://www.wanpusoft.com/weixin/Web/index.html ';
Print_r (Get_headers ($url));
$url = ' Http://www.wanpusoft.com/weixin/Wechar ';
Print_r (Get_headers ($url));
Array
(
[0] = = http/1.1-OK
[1] = cache-control:max-age=1296000
[2] = content-type:text/html
[3] = Last-modified:thu, APR 07:53:40 GMT
[4] = Accept-ranges:bytes
[5] = ETag: "30f6d99c9a7dd01:0"
[6] = server:microsoft-iis/7.0
[7] = X-powered-by:asp.net
[8] = Date:thu, APR 07:28:33 GMT
[9] = Connection:close
[Ten] = content-length:8746
)
Array
(
[0] = http/1.1 404 Not Found
[1] = Cache-control:private
[2] = content-length:1898
[3] = = content-type:text/html; Charset=utf-8
[4] = server:microsoft-iis/7.0
[5] = x-aspnet-version:4.0.30319
[6] = X-powered-by:asp.net
[7] = Date:thu, APR 07:28:34 GMT
[8] = Connection:close
)
You can see that Weixin/wechar is not a directory
Although IIS7 is supported for Path_info, omitting the file name requires a URL rewrite.
------to solve the idea----------------------
Tp?
It's a mistake to write a file, please check the permissions
Please also empty the Runtime directory