Difference between revisions of "Xmlrpc"

From Acenet Knowledgebase
Jump to: navigation, search
Line 4: Line 4:
  
 
1) in your home directory, open or create a ".htaccess" text file.
 
1) in your home directory, open or create a ".htaccess" text file.
<br>
+
<br><br>
 
2) In the .htaccess file, add the following text.  Replace the XXX.XXX.XXX.XXX with the static IP of the connecting server/workstation.
 
2) In the .htaccess file, add the following text.  Replace the XXX.XXX.XXX.XXX with the static IP of the connecting server/workstation.
 
<br>
 
<br>

Revision as of 19:50, 30 October 2018

Due to the large amounts of XMLRPC attacks we see against our shared and reseller servers, Acenet has decided to block access to all xmlrpc.php files globally on our shared and reseller servers. If you have an application that needs to use xmlrpc, you can manually enable access for specific IPs to the file with the following.

NOTE: Acenet does not recommend enabling xmlrpc access for all IP addresses, due to attacks. Specific static IPs are strongly recommended.

1) in your home directory, open or create a ".htaccess" text file.

2) In the .htaccess file, add the following text. Replace the XXX.XXX.XXX.XXX with the static IP of the connecting server/workstation.

<Files xmlrpc.php>
order deny,allow
deny from all
allow from XXX.XXX.XXX.XXX
</Files>

3) Save the file.

You should now be able to connect via XMLRPC from that specified IP.

If you run into any problems, or need additional assistance, please open a new technical support ticket at our online helpdesk.