Friday, April 2, 2010

.htaccess : Only allow GET and PUT Request Methods

Article: Request Methods

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_METHOD} !^(GET|PUT)
RewriteRule .* - [F]

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home