Disable ModSecurity on default vhost
Good morning,
I need to serve something on my default vhost (the vhost who serves /var/www/html). How to disable ModSecurity in this area? .htaccess disabling not working (
SecFilterEngine Off)
-
Hey there! We don't allow .htaccess files in the /var/www/vhosts directory as that gets used for cPanel functions, like AutoSSL. While you can serve some basic content from this directory, we don't encourage that either as all content should come from domain vhosts. 0 -
Thank you for your answer. Is there a way to add an alias or an custom vhost on custom port on Apache? 0
Please sign in to leave a comment.
Comments
3 comments