Hello, I want to add a rule that will be valid on existing and future websites without using a WordPress plugin. The purpose of this rule is to block requests to the xmlrpc.php file.
	
	
	
		
I saved this code in /etc/apache2/mods-available/disable_xmlrpc.conf and then
sudo service lsws restart
sudo service apache2 restart
I entered the commands but it didn't work. where is my problem?
								
		Apache config:
	
	<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteRule ^/xmlrpc\.php$ - [F,L]
</IfModule>
	sudo service lsws restart
sudo service apache2 restart
I entered the commands but it didn't work. where is my problem?






