##1. post方法请求静态文件
默认情况下,web服务器都不允许post方法请求静态文件,会返回响应403 Not Allowed。 如果需要可以通过配置文件来改变这种设置:在需要处理静态文件的location里如下所示配置即可:
location /static/ {
root /path/to/files/;
error_pages 405 = 200 $uri;
}
Axure RP 7.0注册码 | |
用户名:axureuser | |
序列号:8wFfIX7a8hHq6yAy6T8zCz5R0NBKeVxo9IKu+kgKh79FL6IyPD6lK7G6+tqEV4LG |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
##1. post方法请求静态文件
默认情况下,web服务器都不允许post方法请求静态文件,会返回响应403 Not Allowed。 如果需要可以通过配置文件来改变这种设置:在需要处理静态文件的location里如下所示配置即可:
location /static/ {
root /path/to/files/;
error_pages 405 = 200 $uri;
}