I have a content in htaccess
Options FollowSymLinks
RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule .* index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
How do I add to enable PUT method?
Thanks
Here is the solution which may work for you
First, a utility file to support HTTP digest authentication, which
can be located in the target directory (or a common PHP include
directory if you can set one up): dowload and rename dauth.php
Second, in the directory concerned, place the following PHP script:
download and rename put.php
Third, store the following .htaccess file in the target directory,
replacing ‘/path-to-target-directory’ with the domain-relative path
(e.g. if a target file can be read at http://mydomain/x/y/z.html,
then the /path-to-target-directory would be ‘/x/y’): download and rename .htaccess
.htaccessexample:For more info refer: Here