Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/.htaccess/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/64.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 为什么放置和删除请求在远程服务器上不起作用,以及如何解决它?_Php_.htaccess_Angularjs_Rest - Fatal编程技术网

Php 为什么放置和删除请求在远程服务器上不起作用,以及如何解决它?

Php 为什么放置和删除请求在远程服务器上不起作用,以及如何解决它?,php,.htaccess,angularjs,rest,Php,.htaccess,Angularjs,Rest,我正在用AngularJS和PHP(带有REST库的codeigniter)进行REST实验 我尝试了REST请求的$http和Restangular,但在远程服务器(使用byethost free php服务器)上放置和删除请求抛出403禁止,而在本地服务器上它工作正常 我需要启用它还是什么 读后 我补充说 通融 to.htaccess now PUT工作正常,但删除请求失败找到解决方案了吗? <Limit GET POST PUT DELETE> Allow from a

我正在用AngularJS和PHP(带有REST库的codeigniter)进行REST实验

我尝试了REST请求的$http和Restangular,但在远程服务器(使用byethost free php服务器)上放置和删除请求抛出403禁止,而在本地服务器上它工作正常

我需要启用它还是什么

读后 我补充说


通融

to.htaccess now PUT工作正常,但删除请求失败

找到解决方案了吗?
<Limit GET POST PUT DELETE>
  Allow from all
</Limit>