actually <Limit > should ...limit the availability to a set of methods
in the hypothesis they are available and enabled in a larger set. Did
you test DELETE with PHP?

 -- Massimo

On 05/17/2013 09:55 AM, Georgios Petasis wrote:
> I tried with this:
> 
> <Directory /opt/WebServices>
>   DirectoryIndex index.html index.htm index.shtml index.cgi index.tcl
> index.rvt
> 
>   AllowOverride None
>   Order allow,deny
>   Allow from all
>   Require all granted
>   # Require method GET HEAD POST PUT DELETE OPTIONS TRACE
>   <Limit GET POST PUT DELETE>
>      Order allow,deny
>      Allow from all
>   </Limit>
>   <IfModule mod_security2.c>
>     SecRuleInheritance Off
>   </IfModule>
> </Directory>
> 
> Again, 405 Method Not Allowed. GET, POST, PUT work as usual.
> 
> George
> 


-- 
-- Massimo Manghi

Dipartimento di Neuroscienze
Unità di Biofisica e Fisica Sanitaria
via Volturno 39
43125 Parma

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org

Reply via email to