i need block external post , allow post specific folder or specific php files.
you can use following code allow/deny post requests spacific folders , files.
rewriteengine on rewritecond %{the_request} ^post\s/allowed_foloder/foo\.php [nc] rewriterule ^ - [nc,l] rewritecond %{the_request} ^post\s/not_allowed_folder/foo.php [nc] rewriterule ^ - [f,l]
Comments
Post a Comment