I shall start with an example. I want to restrict to POST requests only for http://path/to/logical/abc.xml
and restrict to GET only for http://path/to/logical/def.xml
. How do I put constraints like this as the paths are logical and location directive is not supported in .htaccess?
The actual problem is to set different authentication constraint on diff logical file. Can you tell me as to how do I put a constraint on logical path in the .htaccess file as location directive is not supported in .htaccess.
Location:
HTTP request header?http://httpd.apache.org/docs/current/mod/core.html#location