Welcome!

I'm working as a freelancer in the IT business, running my own company called RMCS.

Everything that has to do with Windows Server, Cisco, Linux, Security and Wireless is my passion!. My daily job is installing new networks, servers, maintenance, security audits but also teaching network engineers to keep their knowledge up-to-date.

If you want to know more about the services I am able to offer you, please check out the "Services" menu-item. My Weblog will tell you everything that i'm working on at the moment.

René Molenaar
MCSE / CCNA / CCNP / CCSI / CWNA / CWSP / CTT

Mod security will increase the security of your server, but sometimes it's blocking legitimate traffic. If you want to disable it for a single domain on your Plesk server, this is what you need to do:

  1. Create a vhost.conf file and place it in the following directory:

    /var/www/vhosts/domainname/conf

  2. It should include the following:

    <IfModule mod_security2.c>
    SecRuleEngine Off
    </IfModule>

  3. Reconfigure Apache:

    /usr/local/psa/admin/bin/websrvmng -u --vhost-name=domainname.com

  4. Restart Apache:

    service httpd restart

That's it, Mod Security is now disabled for this single domainname...

Leave a CommentTrackbackEdit

Add comment


Security code
Refresh

René's Newsletter

Want to stay up-to-date with the latest news about networking, security, wireless and other related info? Subscribe to my newsletter!







Trouble with binary/subnetting?

Let me explain you how it works!

click here!