CyberHosting

[Tutorial] How to block XMLPRC.php in OLS

edited May 13 in Tutorials
Hi,

In Apache , we used to use `deny from all` directive to deny access to xmlrpc.php , but this directive doesn't work in OLS, so there is an alternative way to do

In your .htaccess file , add following code

RewriteRule xmlrpc - [F,L]

And then restart OLS, then when you access /xmlrpc.php , you will have a 403 forbidden result :)

Best regards,
Sign In or Register to comment.
CyberHosting CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!