Forum Moderators: phranque
I have a virutal location to expose webservices on the internet. The path is /webservices, followed by some path information, like /webservices/product/getProduct.
Now I want to limit access to this webservices only for POST requests. However, it should be possible to GET the wsdl, which is located at /webservices/product/getProduct?wsdl.
I have created a LocationMatch directive:
<LocationMatch /webservices>
<Limit GET>
Order Deny,Allow
Deny from all
</Limit>
</LocationMatch>
But now it's not possible to GET /webservices/product/getProduct?wsdl. Is it possible to use rewriting to solve this?
Thanks in advice!
- brgds, Paul
Please see the resources cited in our Forum Charter [webmasterworld.com] to help you get started. You will be far better off with code that you understand and can maintain...
Thanks,
Jim