Hi,
I really like PW's href security, however, I was having difficulties to post to an ajax call to a custom script because of it. After some trial and error, I came to the conclusion that the problem was here:
# Block access to any PHP or markup files in /site/templates/
RewriteCond %{REQUEST_URI} (^|/)(site|site-[^/]+)/templates($|/|/.*\.(php|html?|tpl|inc))$ [OR]
So after commenting this line, all was working. However I would like to keep the security, adding an exception to the following file:
site/templates/scripts/xcrud/xcrud_ajax.php
Is it possible to add this exception to the .href file? How can I do that?
Thank you.