I was testing a REST interface and always getting 403 – forbidden, turns out this is the apache default response for put requests, well at least thats how its setup by default on apache with cPanel, to fix create a conf file:


And add:

<Directory /wheverever>
Order allow,deny
Allow from all

Then test apache aint gonna break with:


If all ok, then restart apahce from WHM and you are good to go.


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>