Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

Hosting provided by: Cloudways
Free to Try! Up to 40% Off!

Category: Security

Restrict directory access—a security tweak—on a LiteSpeed VPS—edit /usr/local/lsws/conf/httpd_config conf:
rewrite { rules { deny ^/private.* } }
restart:
systemctl restart lsws
On DigitalOcean secures hosting—blocks private paths

Back to All Tips